|
|
A212110
|
|
Number of (w,x,y,z) with all terms in {1,...,n} and w*x+y*z=n^2.
|
|
1
|
|
|
0, 0, 4, 8, 16, 18, 40, 28, 56, 56, 82, 56, 152, 74, 148, 150, 176, 110, 276, 136, 334, 260, 296, 180, 516, 268, 378, 360, 528, 266, 850, 300, 624, 536, 614, 578, 1084, 394, 768, 714, 1154, 478, 1432, 528, 1140, 1082, 1052, 620, 1860, 816, 1464
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Every term is even. For a guide to related sequences, see A211795.
|
|
LINKS
|
|
|
MATHEMATICA
|
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[w*x + y*z == n^2, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];
Map[t[#] &, Range[0, 60]] (* A212110 *)
%/2 (* integers *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|