OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1100
EXAMPLE
240 is in the sequence because there are 6 solutions to x^2 - y^2 = 240, namely (x,y) = (16,4), (17,7), (19,11), (23,17), (32,28), (61,59).
MATHEMATICA
nn = 2000;
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