OFFSET
1,2
EXAMPLE
The first 2^2+1 = 5 terms are 1,2,1,2,1. Concatenate those 5 terms gives 1,2,1,2,1,1,2,1,2,1; the last term a(5) is 1 hence we add 2 and 2^3+1 first terms are 1,2,1,2,1,1,2,1,2,1,2
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, May 09 2003
STATUS
approved