OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,102,0,-1).
FORMULA
For n even a(n) = a(n-1) + a(n-2), for n odd a(n) = 100*a(n-1)+ a(n-2); with a(0) = 0, a(1) = 1
a(n)=102*a(n-2)-a(n-4). G.f.: -x*(-1-x+x^2)/((x^2+10*x-1)*(x^2-10*x-1)). [From R. J. Mathar, Jul 14 2009]
MATHEMATICA
LinearRecurrence[{0, 102, 0, -1}, {1, 1, 101, 102}, 20] (* Harvey P. Dale, May 08 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Mark Dols, Jul 10 2009
EXTENSIONS
More terms from R. J. Mathar, Jul 14 2009
STATUS
approved