Can we use magic squares as random number generators?

01072020, 01:07 PM
Post: #4




RE: Can we use magic squares as random number generators?
(01062020 03:24 PM)lrdheat Wrote: Made me think back to when I wanted to generate a series of random numbers back in 1977 with my HP67 (have no idea how I was separated away from that beautifully done device). In radian mode, I took the sine of a seed number (incremented up by 1 for each new random number), and did away with the first 6 digits with my program. Seemed fine for my needs (was simulating baseball games for a simulated season!) Discarding the first few digits after the decimal seems to work fine in general, because the digits that remain are more or less noise! I was able to develop a Matlab random number generator (luck had something to do with it). But once I ported it to Excel VBA the random generator did not give very good results. My conclusion is that the software's basic math oprations and functions have something to do with it. 

« Next Oldest  Next Newest »

Messages In This Thread 
Can we use magic squares as random number generators?  Namir  01032020, 09:48 PM
RE: Can we use magic squares as random number generators?  aamiel  01062020, 09:14 AM
RE: Can we use magic squares as random number generators?  lrdheat  01062020, 03:24 PM
RE: Can we use magic squares as random number generators?  Namir  01072020 01:07 PM

User(s) browsing this thread: 1 Guest(s)