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)

Rémy Sigrist, Scatterplot of the first 150000 terms

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

AUTHOR

Rémy Sigrist, Apr 19 2019

STATUS

approved