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, ...).
1, 7, 38, 194, 976, 4887, 24443, 122224, 611131, 3055667, 15278348, 76391754, 381958786, 1909793947, 9548969753, 47744848784, 238724243941, 1193621219727, 5968106098658, 29840530493314, 149202652466596, 746013262333007
Offset: 1
Keywords
Examples
a(4) = 194 = 5*a(3) + A047201(4) = 5*38 + 4.
Links
- Index entries for linear recurrences with constant coefficients, signature (6,-5,0,1,-6,5).
Crossrefs
Cf. A047201.
Programs
-
Mathematica
LinearRecurrence[{6,-5,0,1,-6,5},{1,7,38,194,976,4887},30] (* Harvey P. Dale, Sep 10 2024 *)
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
Extensions
Extended and corrected by R. J. Mathar, Sep 06 2008