You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

Gunnar_Zarncke comments on Harry Potter and the Methods of Rationality discussion thread, March 2015, chapter 116 - Less Wrong Discussion

4 Post author: Gondolinian 04 March 2015 08:11PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (302)

You are viewing a single comment's thread. Show more comments above.

Comment author: Gunnar_Zarncke 07 March 2015 11:39:21PM 2 points [-]

For all practical uses x'=(x*8+1) mod 49 is a simple PRNG that can be executed mentally easily. If you seed it with the next best number you see it gives suitably random numbers for every-day purposes (and when no dice are available). Note that this is taken from TAoCP by Knuth. I use it for fair choices and mental story telling.