OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (15,-54,40).
FORMULA
G.f.: 1/((1-x)*(1-4*x)*(1-10*x)).
a(n) = (50*10^n-24*4^n+1)/27. - Paul Barry, Feb 17 2003
a(n) = 14*a(n-1)-40*a(n-2)+1, n>=2. - Vincenzo Librandi, Feb 10 2011
a(n) = 15*a(n-1) - 54*a(n-2) + 40*a(n-3). - Wesley Ivan Hurt, May 25 2024
MAPLE
A016225 := proc(n) (50*10^n-24*4^n+1)/27 ; end proc:
seq(A016225(n), n=0..20) ; # R. J. Mathar, Mar 22 2011
MATHEMATICA
Table[(50*10^n - 24*4^n + 1)/27, {n, 0, 20}] (* Wesley Ivan Hurt, May 25 2024 *)
PROG
(PARI) Vec(1/((1-x)*(1-4*x)*(1-10*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved