Re:Ask HN: x = 53; 4.times{ print (x = ( 139\*x - 12169 ) % ...
by bjourne on Sunday January 05, 2025 @08:43PM
(#42606706)
Cool!
> If you only require it to be correct modulo 128 or 256 (for 7- or 8-bit ASCII) then a solution might show up.
Another variant I thought of is to not require the character to be picked from the least bits of x. Still seem very difficult to find the right parameters for generating arbitrary strings though.
> If you only require it to be correct modulo 128 or 256 (for 7- or 8-bit ASCII) then a solution might show up.
Another variant I thought of is to not require the character to be picked from the least bits of x. Still seem very difficult to find the right parameters for generating arbitrary strings though.