login
A109771
Expansion of g.f.: sqrt(1+6*x+x^2).
2
1, 3, -4, 12, -44, 180, -788, 3612, -17116, 83172, -412196, 2075436, -10586892, 54595476, -284157492, 1490774076, -7875206076, 41854313412, -223636052036, 1200637707852, -6473448634348, 35037238641780, -190299310403924, 1036863750837852, -5665846701859484
OFFSET
0,2
COMMENTS
G.f. = square root of weight enumerator of [4,3,2] even weight code.
a(n) gives the row sums of the coefficient array for the family Gegenbauer_C(n,-1/2,-2x-1). - Paul Barry, Apr 20 2009
LINKS
N. Heninger, E. M. Rains and N. J. A. Sloane, On the Integrality of n-th Roots of Generating Functions, arXiv:math/0509316 [math.NT], 2005-2006; J. Combinatorial Theory, Series A, 113 (2006), 1732-1745.
FORMULA
From Paul Barry, Apr 20 2009: (Start)
a(n) = (-1)^n*Sum_{k=0..n} C(n+k-2,n-k)*C(2*k,k)/(1-2*k).
a(n) = (-1)^n*Sum_{k=0..n} C(n+k-2,n-k)*A002420(k). (End)
G.f.: G(0)/2, where G(k)= 1 + 1/( 1 - x*(6+x)*(2*k-1)/(x*(6+x)*(2*k-1) - 2*(k+1)/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jul 16 2013
a(n) ~ -(-1)^n * 2^(1/4) * (1 + sqrt(2))^(2*n-1) / (sqrt(Pi) * n^(3/2)). - Vaclav Kotesovec, Dec 12 2017
D-finite with recurrence: n*a(n) +3*(2*n-3)*a(n-1) +(n-3)*a(n-2) = 0. - R. J. Mathar, Jan 25 2020
EXAMPLE
G.f.: 1 + 3*x - 4*x^2 + 12*x^3 - 44*x^4 + 180*x^5 - 788*x^6 + 3612*x^7 - ...
MATHEMATICA
CoefficientList[Series[Sqrt[1+6x+x^2], {x, 0, 30}], x] (* Harvey P. Dale, Jun 30 2017 *)
PROG
(Magma)
R<x>:=PowerSeriesRing(Rationals(), 40);
Coefficients(R!( Sqrt(1+6*x+x^2) )); // G. C. Greubel, Nov 08 2025
(SageMath)
def A109771_list(prec):
P.<x>= PowerSeriesRing(QQ, prec)
return P( sqrt(1+6*x+x^2) ).list()
print(A109771_list(41)) # G. C. Greubel, Nov 08 2025
CROSSREFS
Cf. A002420.
Sequence in context: A360992 A217477 A299809 * A052626 A336687 A298115
KEYWORD
sign
AUTHOR
STATUS
approved