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.

A356081 Numbers k such that A356052(k) = A356056(k).

Original entry on oeis.org

1, 3, 4, 6, 8, 14, 16, 17, 22, 25, 27, 28, 30, 38, 40, 67, 68, 74, 78, 82, 102, 104, 109, 110, 112, 126, 128, 132, 136, 140, 160, 164, 188
Offset: 1

Views

Author

Clark Kimberling, Jul 26 2022

Keywords

Comments

Conjectures:
(1) This sequence is finite, with greatest term 188.
(2) The set {A356056(k) - A356052(k)}, for k >=1,
contains every integer >= -5.

Crossrefs

Programs

  • Mathematica
    z = 1000000;
    u = Table[Floor[n (Sqrt[2])], {n, 1, z}];   (* A001951 *)
    u1 = Complement[Range[Max[u]], u];     (* A001952 *)
    v = Table[Floor[n (1/2 + Sqrt[2])], {n, 1, z}]; (* A137803 *)
    v1 = Complement[Range[Max[v]], v];   (* A137804 *)
    t1 = Intersection[u, v];      (* A356052 *)
    t2 = Table[u[[v[[n]]]], {n, 1, z/2}];  (* A356056 *)
    length = Min[Length[t1], Length[t2]]
    t = Take[t2, length] - Take[t1, length];
    {Min[t], Max[t]}
    Flatten[Position[t, 0]]