OFFSET
1,1
COMMENTS
A Golomb-type sequence over the powers of 2 (A000079) instead of the integers.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000 (first 108 terms from Matthew Schulz)
EXAMPLE
a(1) equals 2 so 2 appears twice. The next term is 4 because 2^2 is 4, and it appears twice because a(2)=4.
PROG
(PARI) a = vector(59); a[1] = 2; for (p=1, oo, for (i=1, a[p], print1 (a[j++] = 2^p ", "); if (j==#a, break (2)))) \\ Rémy Sigrist, Dec 09 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Matthew Schulz, May 22 2017
STATUS
approved