OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (first 200 terms from Colin Barker)
EXAMPLE
960 is in the sequence because there are 10 solutions to x^2 - y^2 = 960, namely (x,y) = (31,1), (32,8), (34,14), (38,22), (46,34), (53,43), (64,56), (83,77), (122,118), (241,239).
MATHEMATICA
nn = 10000;
t = Table[0, {nn}];
Do[n = x^2 - y^2; If[n <= nn, t[[n]]++], {x, nn}, {y, 0, x - 1}];
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Apr 22 2015
STATUS
approved