A054275 Susceptibility series H_2 for 2-dimensional Ising model (divided by 2).
1, 8, 24, 52, 90, 140, 200, 272, 354, 448, 552, 668, 794, 932, 1080, 1240, 1410, 1592, 1784, 1988, 2202, 2428, 2664, 2912, 3170, 3440, 3720, 4012, 4314, 4628, 4952, 5288, 5634, 5992, 6360, 6740, 7130, 7532, 7944, 8368, 8802, 9248, 9704, 10172, 10650, 11140
Offset: 0
Links
- Colin Barker, Table of n, a(n) for n = 0..1000
- A. J. Guttmann, Indicators of solvability for lattice models, Discrete Math., 217 (2000), 167-189.
- D. Hansel et al., Analytical properties of the anisotropic cubic Ising model, J. Stat. Phys., 48 (1987), 69-80.
- Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
Programs
-
GAP
Concatenation([1], List([1..50], n-> (22*n^2+9-(-1)^n)/4)); # G. C. Greubel, Jul 31 2019
-
Magma
[n eq 0 select 1 else (22*n^2+9-(-1)^n)/4: n in [0..50]]; // G. C. Greubel, Jul 31 2019
-
Mathematica
CoefficientList[Series[(1+6*x+8*x^2+6*x^3+x^4)/((1-x)^3*(1+x)),{x,0,50}], x] (* or *) LinearRecurrence[{2,0,-2,1},{1,8,24,52,90},51] (* Indranil Ghosh, Feb 24 2017 *) Table[If[n==0, 1, (22*n^2+9-(-1)^n)/4], {n,0,50}] (* G. C. Greubel, Jul 31 2019 *)
-
PARI
Vec((1+6*x+8*x^2+6*x^3+x^4)/((1-x)^3*(1+x)) + O(x^50)) \\ Colin Barker, Dec 09 2016
-
PARI
a(n)=if(n, 11*n^2+5, 2)\2 \\ Charles R Greathouse IV, Feb 24 2017
-
Sage
[1]+[(22*n^2+9-(-1)^n)/4 for n in (1..50)] # G. C. Greubel, Jul 31 2019
Formula
G.f.: (1+6*x+8*x^2+6*x^3+x^4) / ((1-x)^3*(1+x)).
From Colin Barker, Dec 09 2016: (Start)
a(n) = (11*n^2+4)/2 for n>0 and even.
a(n) = (11*n^2+5)/2 for n odd.
a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4) for n>4. (End)
E.g.f.: ((9 + 22*x + 22*x^2)*exp(x) - 4 - exp(-x))/4. - G. C. Greubel, Jul 31 2019