OFFSET
1,1
COMMENTS
Row 3 of A202252.
It appears that A202253 is also the number of ordered triples (w,x,y) with all terms in {-n,...,n} such that w+2x+3y=0; see the Mathematica and Example sections. - Clark Kimberling, Apr 10 2012
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) - a(n-2) + a(n-3) - 2*a(n-4) + a(n-5).
Conjecture: a(n) = 1+2*floor((2*n^2+2*n)/3). - Clark Kimberling, Apr 12 2012
Empirical g.f.: x*(3 + 3*x + 2*x^2 - x^3 + x^4) / ((1 - x)^3*(1 + x + x^2)). - Colin Barker, Mar 03 2018
EXAMPLE
Some solutions for n=10:
7 9 6 4 -2 3 -3 -8 3 8 0 -6 1 -6 -3 -5
0 0 -3 0 6 2 2 0 0 -2 -3 1 1 2 4 5
-7 -9 -3 -4 -4 -5 1 8 -3 -6 3 5 -2 4 -1 0
The a(2)=9 solutions (w,x,y) of w+2x+3y=0, as described in the Comments section, are as follows: (-2,-2,2), (-2,1,0), (-1,-1,1), (-1,2,-1), (0,0,0), (1,-2,1), (1,1,-1), (2,-1,0), (2,2,-2). - Clark Kimberling, Apr 10 2012
MATHEMATICA
t[n_]:=t[n]=Flatten[Table[w+2x+3y, {w, -n, n},
{x, -n, n}, {y, -n, n}]]
c[n_]:=Count[t[n], 0]
t=Table[c[n], {n, 1, 50}] (* A143978 ? *)
(t-1)/2 (* A143978 *)
(* Clark Kimberling, Apr 10 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 14 2011
STATUS
approved