OFFSET
0,2
LINKS
Emeric Deutsch, Murray S. Klamkin and Denis Constales, Solution to Problem 10540: Counting the Solutions, Amer. Math. Monthly, 108 (Feb. 2001), 172-173.
MAPLE
[seq(n*(n-1)*(n^2-n-1) + 4*add(floor(n/k^2)*phi(k), k=2..floor(sqrt(n))) - 2*add(floor(n/k)^2*phi(k), k=2..n), n=2..30)];
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 21 2001
STATUS
approved