OFFSET
0,2
COMMENTS
For a guide to related sequences, see A211422.
LINKS
Brandon Crofts, Table of n, a(n) for n = 0..20000
Brandon Crofts, Faster Mathematica code for A211424
MATHEMATICA
t[n_] := t[n] = Flatten[Table[w^2 + 3 x*y, {w, -n, n}, {x, -n, n}, {y, -n, n}]]
c[n_] := Count[t[n], 0]
t = Table[c[n], {n, 0, 70}] (* A211424 *)
(t - 1)/4 (* integers *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 10 2012
STATUS
approved