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.

A238621 Position of first occurrence of n in A238525.

Original entry on oeis.org

1, 6, 8, 9, 48, 12, 24, 15, 120, 22, 54, 26, 90, 57, 44, 34, 156, 38, 114, 85, 228, 46, 232, 87, 348, 93, 138, 58, 318, 62, 372, 111, 333, 265, 354, 74, 366, 129, 296, 82, 369, 86, 402, 667, 387, 94, 328, 159, 438, 244, 530, 106, 423, 177, 474, 183, 1416, 118, 498, 122, 742, 201, 590, 415, 534, 134, 610, 219
Offset: 0

Views

Author

Robert G. Wilson v, Mar 01 2014

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := Mod[n, Dot @@ Transpose@ FactorInteger@ n]; t = Table[0, {1000}]; k = 1; While[k < 100001, a = f[k]; If[a < 1001 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++]; t