OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
J. H. Conway and N. J. A. Sloane, Low-Dimensional Lattices VII: Coordination Sequences, Proc. Royal Soc. London, A453 (1997), 2369-2389 (pdf).
M. Janjic and B. Petkovic, A Counting Function, arXiv preprint arXiv:1301.4550 [math.CO], 2013. - From N. J. A. Sloane, Feb 13 2013
M. Janjic, B. Petkovic, A Counting Function Generalizing Binomial Coefficients and Some Other Classes of Integers, J. Int. Seq. 17 (2014) # 14.3.5.
Joan Serra-Sagrista, Enumeration of lattice points in l_1 norm, Inf. Proc. Lett. 76 (1-2) (2000) 39-44.
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = (4*n^6 + 40*n^4 + 46*n^2)/45. - Frank Ellermann, Mar 16 2002
G.f.: 2*x*(1+x)^5/(1-x)^7. - Colin Barker, Apr 15 2012
a(n) = 2*A069039(n). - R. J. Mathar, Dec 10 2013
MAPLE
f := proc(d, m) local i; sum( 2^i*binomial(d, i)*binomial(m-1, i-1), i=1..min(d, m)); end; # n=dimension, m=norm
MATHEMATICA
CoefficientList[Series[2*x*(1+x)^5/(1-x)^7, {x, 0, 33}], x] (* Vincenzo Librandi, Apr 23 2012 *)
PROG
(PARI) a(n)=(4*n^6+40*n^4+46*n^2)/45 \\ Charles R Greathouse IV, Dec 07 2011
(Magma)[( 4*n^6 +40*n^4 +46*n^2 )/45: n in [0..30]]; // Vincenzo Librandi, Apr 23 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved