login
A141845
a(n) = 5*a(n-1) + A047201(n), a(1) = 1. A047201 = numbers not divisible by 5: (1, 2, 3, 4, 6, 7, 8, 9, 11, ...).
0
1, 7, 38, 194, 976, 4887, 24443, 122224, 611131, 3055667, 15278348, 76391754, 381958786, 1909793947, 9548969753, 47744848784, 238724243941, 1193621219727, 5968106098658, 29840530493314, 149202652466596, 746013262333007
OFFSET
1,2
FORMULA
G.f.: (1+x+x^2+x^3+x^4)/((1-x)^2(1+x)(1+x^2)(1-5x)). - R. J. Mathar, Sep 06 2008
EXAMPLE
a(4) = 194 = 5*a(3) + A047201(4) = 5*38 + 4.
MATHEMATICA
LinearRecurrence[{6, -5, 0, 1, -6, 5}, {1, 7, 38, 194, 976, 4887}, 30] (* Harvey P. Dale, Sep 10 2024 *)
CROSSREFS
Cf. A047201.
Sequence in context: A346395 A055146 A014827 * A048437 A099461 A104553
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jul 11 2008
EXTENSIONS
Extended and corrected by R. J. Mathar, Sep 06 2008
STATUS
approved