OFFSET
0,2
COMMENTS
Binomial transform of A083297.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (0,25).
FORMULA
a(n) = (4*5^n + (-5)^n)/5.
G.f.: (1+3*x)/((1+5*x)(1-5*x)).
E.g.f.: (4*exp(5*x) + exp(-5*x))/5.
MATHEMATICA
LinearRecurrence[{0, 25}, {1, 3}, 30] (* or *) Riffle[NestList[25#&, 1, 10], NestList[ 25#&, 3, 10]] (* Harvey P. Dale, Dec 14 2017 *)
PROG
(Magma) [(4*5^n+(-5)^n)/5: n in [0..25]]; // Vincenzo Librandi, Jun 29 2011
(PARI) a(n)=(4*5^n+(-5)^n)/5 \\ Charles R Greathouse IV, Jun 29 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 23 2003
EXTENSIONS
Edited by N. J. A. Sloane, Jun 08 2007
STATUS
approved