OFFSET
0,1
LINKS
David Applegate, Marc LeBrun and N. J. A. Sloane, Carryless Arithmetic (I): The Mod 10 Version.
Index entries for linear recurrences with constant coefficients, signature (12,-20).
FORMULA
For formula see Maple code.
a(n) = 12*a(n-1)-20*a(n-2). G.f.: -(14*x-5) / ((2*x-1)*(10*x-1)). - Colin Barker, May 11 2013
MAPLE
f :- n->2^((n-1)/2) + add( 5^d*2^((n+1)/2), d=0..(n-3)/2) + 2^((n+3)/2)*5^((n-1)/2);
MATHEMATICA
LinearRecurrence[{12, -20}, {5, 46}, 25] (* Paolo Xausa, Jun 26 2024 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Aug 07 2010
STATUS
approved