OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
1, 10, 11, 11, 100, 101, 110, 111, 1000, 1000, 1001, 1001, ... <- sequence (base 2)
..1..1..0..1..1..1..1..1..0..0..1..0... <- first difference are the sequence's digits.
MAPLE
A[1]:= 1: B:= 1: S:= "1":
for n from 2 to 100 do
B:= B + parse(S[n-1]);
A[n]:= convert(B, binary);
S:= cat(S, A[n]);
od:
seq(A[i], i=1..100); # Robert Israel, Jun 11 2019
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Philippe Deléham, Jul 09 2005
STATUS
approved