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.

A307591 Lexicographically earliest sequence of distinct positive terms such that, for any n > 0, A000196(2*a(n) + a(n+1)) is a Fibbinary number (A003714).

Original entry on oeis.org

1, 2, 3, 10, 4, 8, 5, 6, 7, 9, 11, 12, 40, 13, 38, 14, 36, 15, 34, 16, 32, 17, 30, 18, 28, 19, 26, 20, 24, 21, 22, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 174, 52, 152, 42, 172, 56, 144, 43, 170, 60, 136, 44, 168, 64, 128, 45, 166, 68, 120, 46, 164, 72, 112
Offset: 1

Views

Author

Rémy Sigrist, Apr 19 2019

Keywords

Comments

This sequence is a variant of A300890 and has interesting graphical features.

Crossrefs

Programs

  • PARI
    s=0; v=1; for (n=1, 64, print1 (v ", "); s+=2^v; for (o=1, oo, if (!bittest(s, o), f=sqrtint(2*v+o); if (bitand(f, 2*f)==0, v=o; break))))