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