OFFSET
1,1
COMMENTS
2^36=68719476736 hence 36 is in the sequence.
LINKS
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 36+100(n-1).
a(n) = 2*a(n-1)-a(n-2). G.f.: 4*x*(9+16*x)/(1-x)^2. [Colin Barker, Dec 01 2012]
PROG
(PARI) isok(n) = (2^n - n) % 100 == 0; \\ Michel Marcus, Nov 23 2013
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Benoit Cloitre, Mar 07 2002
STATUS
approved