login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099622 a(n) = Sum_{k=0..floor(n/2)} binomial(n-k, k-1)*4^(n-k-1)*(5/4)^k. 2
0, 1, 8, 53, 316, 1785, 9744, 51997, 273092, 1417889, 7299160, 37334661, 190028748, 963565513, 4871514656, 24572321645, 123720601684, 622038982257, 3123938806632, 15674669614549, 78593250398300, 393845861293721 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
In general a(n) = Sum_{k=0..floor(n/2)} binomial(n-k, k+1) * u^(n-k-1) * (v/u)^(k-1) has g.f. x^2/((1-u*x) * (1-u*x-v*x^2)) and satisfies the recurrence a(n) = 2*u*a(n-1) - (u^2 - v)*a(n-2) - u*v*a(n-3).
LINKS
FORMULA
a(n) = Sum_{k=0..floor(n/2)} binomial(n-k, k-1)*4^(n-k-1)*(5/4)^k.
a(n) = 8*a(n-1) - 11*a(n-2) - 20*a(n-3).
G.f.: x^2/((1-4*x)*(1-4*x-5*x^2)) = x^2/((1+x)*(1-4*x)*(1-5*x)).
From G. C. Greubel, Jul 22 2022: (Start)
a(n) = (1/30)*(5^(n+2) - 6*4^(n+1) - (-1)^n).
E.g.f.: (1/30)*(25*exp(5*x) - 24*exp(4*x) - exp(-x)). (End)
MATHEMATICA
LinearRecurrence[{8, -11, -20}, {0, 1, 8}, 30] (* Harvey P. Dale, Nov 05 2017 *)
PROG
(Magma) [(5^(n+2) -6*4^(n+1) -(-1)^n)/30: n in [0..40]]; // G. C. Greubel, Jul 22 2022
(SageMath) [(5^(n+2) -6*4^(n+1) -(-1)^n)/30 for n in (0..40)] # G. C. Greubel, Jul 22 2022
CROSSREFS
Sequence in context: A316424 A317426 A212754 * A198846 A291662 A110099
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 25 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 00:00 EDT 2024. Contains 371696 sequences. (Running on oeis4.)