top | item 42594680

(no title)

5 points| styczen | 1 year ago

discuss

order

db48x|1 year ago

That’s just a simple linear congruential generator <https://en.wikipedia.org/wiki/Linear_congruential_generator>. In principle it’s possible to devise one that prints anything you want.

bjourne|1 year ago

What if the word contains repeated letters?

styczen|1 year ago

ok, I want word 'Hacker' please find me parameter ;-)

word 'Linux' will use real number not integer but I'm not remember what to do this. some variable must be 'floor' cut / rouded. I canot find any real solution

swiatlo|1 year ago

m = 1062 a = 23 c = 984 x0 = 608