Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on An RNG that runs in your brain.
> Choose a 2-digit number, say 23, your “seed”.
> Form a new 2-digit number: the 10’s digit plus 6 times the units digit.
Here's where the ambiguity is, I interpreted this as (tens_digit+6)*units_digit so I did (2+6)*3=24
> The example sequence is 23 –> 20 –> 02 –> 12 –> 13 –> 19 –> 55 –> 35 –> …
24 != 20 so I had to walk back and figure out that they in fact meant tens_digit+(6*units_digit)
There are no comments on this comment yet.
> Choose a 2-digit number, say 23, your “seed”.
> Form a new 2-digit number: the 10’s digit plus 6 times the units digit.
Here's where the ambiguity is, I interpreted this as (tens_digit+6)*units_digit so I did (2+6)*3=24
> The example sequence is 23 –> 20 –> 02 –> 12 –> 13 –> 19 –> 55 –> 35 –> …
24 != 20 so I had to walk back and figure out that they in fact meant tens_digit+(6*units_digit)