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!)
A152256 a(n) = (3^n - 1)*(3^n + 1)^2/32. 1
0, 1, 25, 637, 16810, 450241, 12123475, 327035437, 8827268020, 238312027681, 6434206838125, 173721623357437, 4690466178937630, 126642427965100321, 3419344125259375975, 92322278513810982637, 2492701404059145489640, 67302936867273104276161 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = (3^n - 1)*(3^n + 1)^2/32.
From G. C. Greubel, May 22 2023: (Start)
a(n) = A002452(n)*A007051(n)/2.
a(n) = A003462(n)*A051500(n)/4.
G.f.: x*(1 -15*x +27*x^2)/((1-x)*(1-3*x)*(1-9*x)*(1-27*x)).
E.g.f.: (1/32)*(- exp(x) - exp(3*x) + exp(9*x) + exp(27*x)). (End)
MATHEMATICA
Table[(9^n-1)*(3^n+1)/32, {n, 0, 30}]
PROG
(Magma) [(9^n-1)*(3^n+1)/32: n in [0..40]]; // G. C. Greubel, May 22 2023
(SageMath) [(9^n-1)*(3^n+1)/32 for n in range(41)] # G. C. Greubel, May 22 2023
CROSSREFS
Sequence in context: A042202 A203341 A260048 * A153111 A361712 A097194
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Dec 01 2008
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 May 3 03:00 EDT 2024. Contains 372203 sequences. (Running on oeis4.)