OFFSET
0,2
LINKS
T. D. Noe, Table of n, a(n) for n = 0..1000
M. Baake and U. Grimm, Coordination sequences for root lattices and related graphs, arXiv:cond-mat/9706122, 1997; Zeit. f. Kristallographie, 212 (1997), 253-256.
R. Bacher, P. de la Harpe and B. Venkov, Séries de croissance et séries d'Ehrhart associées aux réseaux de racines, C. R. Acad. Sci. Paris, 325 (Series 1) (1997), 1137-1142.
J. H. Conway and N. J. A. Sloane, Low-Dimensional Lattices VII: Coordination Sequences, Proc. Royal Soc. London, A453 (1997), 2369-2389 (pdf).
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = (2/5)*(74*n^6 - 6*n^5 + 130*n^4 + 30*n^3 + 106*n^2 - 24*n + 5) for n >= 1.
Bacher et al. give a g.f.
G.f.: (1 + 119*x + 2037*x^2 + 8211*x^3 + 8787*x^4 + 2037*x^5 + 119*x^6 + x^7)/(1-x)^7. - Colin Barker, Sep 26 2012
MAPLE
a:= n-> `if`(n=0, 1, 148/5*n^6-12/5*n^5+52*n^4+12*n^3+212/5*n^2-48/5*n+2):
seq(a(n), n=0..25);
MATHEMATICA
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {1, 126, 2898, 25886, 133506, 490014, 1433810, 3573054}, 20] (* Harvey P. Dale, Nov 12 2014 *)
PROG
(Magma) [1] cat [(2/5)*(74*n^6 -6*n^5 +130*n^4 +30*n^3 +106*n^2 -24*n + 5): n in [1..30]]; // G. C. Greubel, May 29 2023
(SageMath) [2*(74*n^6 -6*n^5 +130*n^4 +30*n^3 +106*n^2 -24*n +5)//5 - int(n==0) for n in range(31)] # G. C. Greubel, May 29 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
