cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A352646 Expansion of e.g.f. 1/(1 - 2 * x * cos(x)).

This page as a plain text file.
%I A352646 #27 Jun 25 2025 06:27:32
%S A352646 1,2,8,42,288,2410,24000,277186,3648512,53936082,885150720,
%T A352646 15970846298,314273439744,6698574264122,153746319720448,
%U A352646 3780677636321010,99163499845386240,2763481838977368994,81542013760903053312,2539717324111483027594
%N A352646 Expansion of e.g.f. 1/(1 - 2 * x * cos(x)).
%H A352646 Seiichi Manyama, <a href="/A352646/b352646.txt">Table of n, a(n) for n = 0..415</a>
%F A352646 a(0) = 1; a(n) = 2 * Sum_{k=0..floor((n-1)/2)} (-1)^k * (2*k+1) * binomial(n,2*k+1) * a(n-2*k-1).
%F A352646 a(n) ~ n! / ((1 - r * sqrt(4*r^2 - 1)) * r^n), where r = A196603 = 0.6100312844641759753709630735134103246737209791121692378637516075328... is the root of the equation 2*r*cos(r) = 1. - _Vaclav Kotesovec_, Mar 27 2022
%F A352646 a(n) = Sum_{k=0..n} 2^k * k! * i^(n-k) * A185951(n,k), where i is the imaginary unit. - _Seiichi Manyama_, Jun 25 2025
%t A352646 With[{m = 19}, Range[0, m]! * CoefficientList[Series[1/(1 - 2*x*Cos[x]), {x, 0, m}], x]] (* _Amiram Eldar_, Mar 26 2022 *)
%o A352646 (PARI) my(N=20, x='x+O('x^N)); Vec(serlaplace(1/(1-2*x*cos(x))))
%o A352646 (PARI) a(n) = if(n==0, 1, 2*sum(k=0, (n-1)\2, (-1)^k*(2*k+1)*binomial(n, 2*k+1)*a(n-2*k-1)));
%Y A352646 Cf. A352252, A352647.
%Y A352646 Cf. A352642, A352648.
%Y A352646 Cf. A185951.
%K A352646 nonn
%O A352646 0,2
%A A352646 _Seiichi Manyama_, Mar 25 2022