A152240 a(n)=5*a(n-1)+7*a(n-2), n>1 ; a(0)=1, a(1)=7 .
1, 7, 42, 259, 1589, 9758, 59913, 367871, 2258746, 13868827, 85155357, 522858574, 3210380369, 19711911863, 121032221898, 743144492531, 4562948015941, 28016751527422, 172024393748697, 1056239229435439, 6485366903418074
Offset: 0
Links
- Paolo Xausa, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5,7).
Programs
-
Mathematica
LinearRecurrence[{5, 7}, {1, 7}, 25] (* Paolo Xausa, Jan 19 2024 *)
-
PARI
Vec((1+2*x)/(1-5*x-7*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jan 17 2012
Formula
G.f.: (1+2*x)/(1-5*x-7*x^2).
Extensions
Several terms corrected by Johannes W. Meijer, Aug 17 2010
Comments