login
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).
1
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,2
COMMENTS
This sequence is a variant of A300890 and has interesting graphical features.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000 (amended by Georg Fischer, May 05 2019)
PROG
(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))))
CROSSREFS
KEYWORD
nonn,base,look
AUTHOR
Rémy Sigrist, Apr 19 2019
STATUS
approved