@lizard...
“Irving Berlin has no place in American music - he is American music” - Jerome Kern
“The greatest songwriter who has ever lived” - — George Gershwin
Not bad for a man who left school at 13 .
Search found 7 matches
- Jul 01, 2018 19:56
- Forum: General
- Topic: Random Numbers Using Text
- Replies: 5
- Views: 1380
- Jul 01, 2018 16:32
- Forum: General
- Topic: Random Numbers Using Text
- Replies: 5
- Views: 1380
Re: Random Numbers Using Text
@lizard
Very colourful...
I'm a Berlin fan...you know the guy who only used the black keys on a piano.
Cheers.
Very colourful...
I'm a Berlin fan...you know the guy who only used the black keys on a piano.
Cheers.
- Jun 28, 2018 21:41
- Forum: General
- Topic: Random Numbers Using Text
- Replies: 5
- Views: 1380
Random Numbers Using Text
The idea for this program was inspired by the Lucy spy ring cipher which used additives. Quote: "More importantly, the additive was generated not through a keyword, but by selecting lines at random from almanacs of industrial statistics." This program is used to create random numbers from ...
- Jun 28, 2018 21:24
- Forum: General
- Topic: 52 card shuffle
- Replies: 22
- Views: 5122
Re: 52 card shuffle
Yes - thanks for all the modifications and examples, I picked up quite a few hints. @deltarho Well second fellow is not too bad - better than being last... I tried to find the highest factorial that GMP would give up on - it wouldn't handle factorial(200,000,000) but digested factorial(150,000,000) ...
- Jun 26, 2018 23:13
- Forum: General
- Topic: 52 card shuffle
- Replies: 22
- Views: 5122
Re: 52 card shuffle
@frisian Much obliged for your input - it has shone a searchlight on how to handle large values. Your example is neat and tidy. Any idea what is the maximum factorial GMP can output correctly? I used to tinker around with Ubasic when I wanted to manipulate large numbers but GMP seems to be a much be...
- Jun 26, 2018 14:33
- Forum: General
- Topic: 52 card shuffle
- Replies: 22
- Views: 5122
Re: 52 card shuffle
Thanks for that srvaldez - just what I was seeking - my original submission has been modified.
Hi deltarho - it compiles all right on my Windows 10 setup - I hope you can get this version to execute successfully.
Hi deltarho - it compiles all right on my Windows 10 setup - I hope you can get this version to execute successfully.
- Jun 24, 2018 18:34
- Forum: General
- Topic: 52 card shuffle
- Replies: 22
- Views: 5122
52 card shuffle
I have tried to resolve the 52 card shuffle covering all permutations. The random number routine is a bit clunky but seems to work. A program to simulate shuffling a deck of 52 cards that is based on using a rank from one of the possible ranks of a permutation of 52 cards: 52! is a 68 digit number: ...