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.

A190566 Positions of 4 in A190561.

Original entry on oeis.org

12, 24, 41, 53, 70, 82, 111, 123, 140, 152, 181, 193, 210, 222, 239, 251, 280, 292, 309, 321, 350, 362, 379, 391, 408, 420, 432, 449, 461, 478, 490, 519, 531, 548, 560, 589, 601, 618, 630, 647, 659, 688, 700, 717, 729, 758, 770, 787, 799, 816, 828, 840, 857, 869, 886, 898, 927, 939, 956, 968, 997, 1009
Offset: 1

Views

Author

Clark Kimberling, May 12 2011

Keywords

Comments

See A190561.

Crossrefs

Cf. A190561.

Programs

  • Mathematica
    r = Sqrt[2]; b = 4; c = 3;
    f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
    t = Table[f[n], {n, 1, 200}] (* A190561 *)
    Flatten[Position[t, 0]]          (* A190562 *)
    Flatten[Position[t, 1]]          (* A190563 *)
    Flatten[Position[t, 2]]          (* A190564 *)
    Flatten[Position[t, 3]]          (* A190565 *)
    Flatten[Position[t, 4]]          (* A190566 *)