Middle-square method: Difference between revisions

Content deleted Content added
layout: moved See also section to before refs per MOS:ORDER
Adding local short description: "Pseudorandom number generator", overriding Wikidata description "pseudorandom number generator"
Line 1:
{{Short description|Pseudorandom number generator}}
[[Image:Middle-square method.svg|right|250px|thumb|One iteration of the middle-square method, showing a 6-digit seed, which is then squared, and the resulting value has its middle 6 digits as the output value (and also as the next seed for the sequence).]]
[[Image:Middle_square_method_2_digits.svg|right|250px|thumb|[[Directed graph]] of all 100 2-digit pseudorandom numbers obtained using the middle-square method with ''n'' = 2.]]