cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A039925 Random digits.

Original entry on oeis.org

12, 67, 73, 29, 44, 54, 12, 73, 97, 48, 79, 91, 20, 20, 17, 31, 83, 20, 85, 66, 6, 24, 89, 57, 11, 27, 43, 3, 14, 29, 84, 52, 86, 13, 51, 70, 65, 88, 60, 88, 29, 15, 84, 77, 17, 86, 64, 87, 6, 55, 36, 44, 92, 58, 64, 91, 94, 48, 64, 65, 49, 56, 97, 93, 91, 59
Offset: 0

Views

Author

Keywords

Comments

A sequence of mechanically selected random numbers given by Cox. These numbers in turn were taken (with permission) from a larger table by Kendall and Smith. In Cox, all numbers were given as pairs of digits. Here leading zeros have been lost, so, for example, where we have a(21)=6 the original list has 06. - Sean A. Irvine, Feb 28 2021

References

  • D. R. Cox, Planning of Experiments, Wiley, NY, 1958, p. 299, Table A.3.
  • M. G. Kendall and B. Babington Smith, Tables of random sampling numbers, Tracts for computers, 24, 1939.

Crossrefs

Formula

a(n) = A039926(2*n) * 10 + A039926(2*n+1). - Sean A. Irvine, Feb 28 2021

Extensions

Offset changed to 0 for consistency with A039926 by Sean A. Irvine, Feb 28 2021

A259233 Random number table used by Doom.

Original entry on oeis.org

0, 8, 109, 220, 222, 241, 149, 107, 75, 248, 254, 140, 16, 66, 74, 21, 211, 47, 80, 242, 154, 27, 205, 128, 161, 89, 77, 36, 95, 110, 85, 48, 212, 140, 211, 249, 22, 79, 200, 50, 28, 188, 52, 140, 202, 120, 68, 145, 62, 70, 184, 190, 91, 197, 152, 224, 149
Offset: 0

Views

Author

J. Hufford, Jun 29 2015

Keywords

Comments

From Simon Howard, Oct 25 2024: (Start)
The same table of numbers is also used in earlier games by id Software, including Catacomb 3D (1991) and Wolfenstein 3D (1992), but was used as early as the Commander Keen series. Due to code reuse, the table subsequently found its way into games from other companies: Apogee Software's Rise of the Triad (1995) and Raven Software's Heretic (1994) and Hexen (1995) among others.
The sequence is bytes from a 32-bit linear congruential generator using a multiplier of 134775813 and an increment of 1; these parameters were used in the pseudorandom number generators shipped with various compilers produced by Borland International, Inc. in the late 1980s. This suggests that a program built using one of these compilers was used to generate the table. (End)

Crossrefs

Programs

  • Python
    state = 1
    for _ in range(256):
        print(state >> 16, end=', ')
        state = (134775813 * state + 1) % (1 << 24)
    # Simon Howard, Nov 01 2024

Formula

a(n) = floor((134775813^(n+1) - 1) / 8832667615232) mod 2^8 (by sum of a geometric series). - Simon Howard, Nov 04 2024
Showing 1-2 of 2 results.