OFFSET
1,1
COMMENTS
Also indices of pentagonal numbers which are half of some other pentagonal number: see A137693 for more details, comments and links.
LINKS
Colin Barker, Table of n, a(n) for n = 1..250
Dario Alpern, Quadratic two integer variable equation solver
Index entries for linear recurrences with constant coefficients, signature (1155,-1155,1).
FORMULA
a(n) = f^{2n-2}(5,7)[1], where f(x,y) = (577x + 408y - 164, 816x + 577y - 232).
a(n) = (5,7,1,5,7,1,...) (mod 10).
G.f.: -x*(5-198*x+x^2) / ( (x-1)*(x^2-1154*x+1) ). - R. J. Mathar, Apr 17 2011
PROG
(PARI) vector(20, i, (v=if(i>1, [577, 408; 816, 577]*v-[164; 232], [5; 7]))[1, 1])
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
M. F. Hasler, Feb 08 2008
STATUS
approved