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.

A283473 Numbers n for which A004001(n) = A283470(n).

Original entry on oeis.org

1, 2, 5, 11, 12, 23, 24, 25, 26, 27, 50, 51, 52, 53, 54, 55, 56, 57, 58, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495
Offset: 1

Views

Author

Antti Karttunen, Mar 18 2017

Keywords

Comments

Equally, numbers n such that A004001(n) = A283469(n).

Crossrefs

Positions of zeros in A283472.

Programs

  • Mathematica
    a[n_] := a[n] = If[n <= 2, 1, a[a[n - 1]] + a[n - a[n - 1]]]; With[{nn = 500}, Function[s, Select[Range@ nn, a@ # == s[[#]] &]]@ Table[BitXor[a[#], a[n - #]] &@ a[n - 1] + Boole[n <= 2], {n, nn}]] (* Michael De Vlieger, Mar 18 2017, after Robert G. Wilson v at A004001 *)