login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A103455
a(n) = 0^n + 5^n - 1.
3
1, 4, 24, 124, 624, 3124, 15624, 78124, 390624, 1953124, 9765624, 48828124, 244140624, 1220703124, 6103515624, 30517578124, 152587890624, 762939453124, 3814697265624, 19073486328124, 95367431640624, 476837158203124
OFFSET
0,2
COMMENTS
A transform of 5^n under the matrix A103452.
FORMULA
G.f.: (1 - 2*x + 5*x^2)/((1-x)*(1-5*x)).
a(n) = Sum_{k=0..n} A103452(n, k)*5^k.
a(n) = Sum_{k=0..n} (2*0^(n-k) - 1)*0^(k*(n-k))*5^k.
a(n) = A024049(n), n > 0. - R. J. Mathar, Aug 30 2008
E.g.f.: 1 - exp(x) + exp(5*x). - G. C. Greubel, Jun 21 2021
MATHEMATICA
Join[{1}, 5^Range[20]-1] (* Harvey P. Dale, Nov 15 2011 *)
PROG
(Magma) [0^n+5^n-1: n in [0..30]]; // Vincenzo Librandi, Jun 06 2011
(Sage) [1]+[5^n -1 for n in [1..40]] # G. C. Greubel, Jun 21 2021
CROSSREFS
Sequence in context: A098224 A339123 A024049 * A289715 A174443 A180222
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 06 2005
STATUS
approved