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!)
A152104 Quartic product sequence: a(n) = 2^n*Product_{k=1..(n-1)/2} (1 + m*cos(k*Pi/n)^2 + q*cos(k*Pi/n)^4), with m=6, q=4. 1
1, 2, 4, 22, 80, 342, 1364, 5602, 22720, 92642, 376884, 1534742, 6247120, 25433302, 103536164, 421498242, 1715905280, 6985435522, 28437573604, 115768943702, 471293442000, 1918628145302, 7810704140404, 31797251383522 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(n+1)/a(n) tends to (1 + sqrt(11) + sqrt(2*(4+sqrt(11))))/2 = 4.070983928708143809... - Vaclav Kotesovec, Nov 30 2012
LINKS
FORMULA
G.f.: 1 + 2*(1-x)*x*(1+x)/(1-2*x-8*x^2-2*x^3+x^4). - Vaclav Kotesovec, Nov 30 2012
MATHEMATICA
With[{m = 6, q = 4}, Table[2^n*Round[Product[1 + m*Cos[k*Pi/n]^2 + q*Cos[k*Pi/n]^4, {k, 1, (n - 1)/2}]], {n, 0, 30}]] (* modified by G. C. Greubel, May 15 2019 *)
CoefficientList[Series[1+2*(1-x)*x*(1+x)/(1-2*x-8*x^2-2*x^3+x^4), {x, 0, 20}], x] (* Vaclav Kotesovec, Nov 30 2012 *)
PROG
(PARI) my(x='x+O('x^30)); Vec(1+2*(1-x)*x*(1+x)/(1-2*x-8*x^2-2*x^3+x^4)) \\ G. C. Greubel, May 15 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( 1+2*(1-x)*x*(1+x)/(1-2*x-8*x^2-2*x^3+x^4) )); // G. C. Greubel, May 15 2019
(Sage) (1+2*(1-x)*x*(1+x)/(1-2*x-8*x^2-2*x^3+x^4)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, May 15 2019
CROSSREFS
Sequence in context: A305492 A220456 A071298 * A047035 A080042 A364643
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Nov 24 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 April 14 20:39 EDT 2024. Contains 371667 sequences. (Running on oeis4.)