Post Reply 
More pseudo random number generators for calculators
07-09-2020, 03:45 AM
Post: #3
RE: More pseudo random number generators for calculators
A short search on the HP50g gives the following parameters that should work there.

X(j+1)=X(j)*227716313950 mod 549755813507
X(0) not 0

This should generate all integers less than the modulus except zero. The numbers should be small enough not to screw up the division on the HP50g.

(All this assumes that I copied the numbers from the display into the computer correctly.)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: More pseudo random number generators for calculators - ttw - 07-09-2020 03:45 AM



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