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!)
A248088 a(n) = Sum_{k=0..floor(n/4)} binomial(n-3k, k)*(-3)^(3k)*4^(n-4k). 1
1, 4, 16, 64, 229, 808, 2800, 9472, 31705, 105004, 344416, 1121920, 3631645, 11691472, 37466656, 119574784, 380244721, 1205309140, 3809636848, 12010028224, 37773505429, 118550674936, 371342504848, 1161099257344, 3624512382793, 11297181307900, 35162477600704 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
P. S. Bruckman and G. C. Greubel, Advanced Problem H-725, Fibonacci Quarterly, 52(2):187-190, 2014.
FORMULA
a(n) = 3^n*(3*n + 5)/6 - (-1)^n*3^(n+1)/2*sin((n-1)*arcsin(sqrt(2/3)))/(6*sqrt(2)).
G.f.: 1/(1 - 4x + 27x^4).
a(n) = (1+3/n)*a(n-1) + (3+6/n)*a(n-2) + (9+9/n)*a(n-3). - Robert Israel, Oct 27 2014
MAPLE
gser := series(1/(1-4*x+27*x^4), x = 0, 35): seq(coeff(gser, x, n), n = 0 .. 30);
#Alternative:
F:= gfun[rectoproc]({(n+4)*a(n+4)+(-7-n)*a(n+3)+(-18-3*n)*a(n+2)+(-45-9*n)*a(n+1), a(0) = 1, a(1) = 4, a(2) = 16, a(3) = 64}, a(n), remember):
seq(F(n), n=0..100); # Robert Israel, Oct 27 2014
MATHEMATICA
CoefficientList[Series[1/(1 - 4 x + 27 x^4), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 28 2014 *)
PROG
(PARI) Vec(1/(1-4*x+27*x^4)+O(x^99)) \\ Charles R Greathouse IV, Oct 28 2014
CROSSREFS
Sequence in context: A262334 A065738 A248089 * A294037 A228735 A289694
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, Oct 27 2014
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 24 07:06 EDT 2024. Contains 371920 sequences. (Running on oeis4.)