Post Reply 
Hp Algorithm to create random numbers
08-13-2024, 11:38 PM (This post was last modified: 08-18-2024 07:41 PM by Albert Chan.)
Post: #5
RE: Hp Algorithm to create random numbers
Hi, Gil

It is a difference of random state vs random output

Quote:R(n) =.821118792263 (1)

Output is 12 digits, but random state is really 15 (red numbers cracked by brute force)

821118792263521 * 2851130928467 % 10^15 = 994325264552307

We drop next state last 3 digits for next random output.

Quote:Pressing a second time RAND gives
R(n+1)=.994325264552 (6)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Hp Algorithm to create random numbers - Albert Chan - 08-13-2024 11:38 PM



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