OFFSET
0,4
COMMENTS
Last digit has period 12.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,5,2).
FORMULA
Differences: 0, 0, 6, 0, 30, 12, 150, 120, 774 ... = 6*A135138.
O.g.f.: (-1-x+4*x^2)/((2*x+1)(x^2+2*x-1)) . a(n) = [(-2)^(n+1)+9*A000129(n+1)-15*A000129(n)]/7. - R. J. Mathar, Mar 17 2008
MATHEMATICA
nxt[{a_, b_, c_}]:={b, c, 5b+2a}; NestList[nxt, {1, 1, 1}, 30][[;; , 1]] (* or *) LinearRecurrence[{0, 5, 2}, {1, 1, 1}, 40] (* Harvey P. Dale, Dec 15 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Curtz, Mar 02 2008
EXTENSIONS
More terms from R. J. Mathar, Mar 17 2008
STATUS
approved