OFFSET
1,4
COMMENTS
Used in a recursive formula of A265754.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..8191
MATHEMATICA
b[1] = 1; b[2] = 1; b[n_] := b[n] = b[b[n - 1]] + b[n - b[n - 1]]; Table[1 + 2^(Ceiling@ Log2[n + 1] - 1) - b[n + 1], {n, 96}] (* Michael De Vlieger, Jan 26 2016, after Robert G. Wilson v at A004001 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 22 2016
STATUS
approved