OFFSET
1,1
LINKS
Ray Chandler, Table of n, a(n) for n = 1..1431 (terms < 10^1000, first 1000 terms from Alois P. Heinz)
FORMULA
a(n) = a(n-1)/2 + 5^(n-1)*(4-[a(n-1) mod 2])/2. - Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Jun 17 2001
a(n) = A035014(n)/2^n. - Michel Marcus, Apr 07 2017
PROG
(PARI) a(n) = if (n==1, 2, a(n-1)/2 + 5^(n-1)*(4-(a(n-1) % 2))/2);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 15 1999
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Jun 17 2001
More terms from Michel Marcus, Apr 07 2017
STATUS
approved