Search found 7 matches

by IvorU
Jul 01, 2018 19:56
Forum: General
Topic: Random Numbers Using Text
Replies: 5
Views: 638

Re: Random Numbers Using Text

@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 .
by IvorU
Jul 01, 2018 16:32
Forum: General
Topic: Random Numbers Using Text
Replies: 5
Views: 638

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.
by IvorU
Jun 28, 2018 21:41
Forum: General
Topic: Random Numbers Using Text
Replies: 5
Views: 638

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 ...
by IvorU
Jun 28, 2018 21:24
Forum: General
Topic: 52 card shuffle
Replies: 22
Views: 2196

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) ...
by IvorU
Jun 26, 2018 23:13
Forum: General
Topic: 52 card shuffle
Replies: 22
Views: 2196

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...
by IvorU
Jun 26, 2018 14:33
Forum: General
Topic: 52 card shuffle
Replies: 22
Views: 2196

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.
by IvorU
Jun 24, 2018 18:34
Forum: General
Topic: 52 card shuffle
Replies: 22
Views: 2196

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: ...

Go to advanced search