Random number challenge
Von Fugal
von at fugal.net
Thu Jun 12 08:23:33 MDT 2008
<quote name="Andrew Jorgensen" date="Wed, 11 Jun 2008 at 19:54 -0600">
> This comes up every month at PLUG (for door prizes) so I thought I'd ask here. What's an easy to remember way to generate a random number between 1 and some given number. Language doesn't matter so long as the code is easy enough for someone to remember the entire thing and type it up at the drop of a hat.
>
> Go, lazylist, go!
Binary grab bag? A stash of coins? Parallelized flipping?
Von Fugal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20080612/22efd0d8/attachment.bin
More information about the PLUG
mailing list