OFFSET
1,1
COMMENTS
An upper bound on the number of solutions appears to be 9*sqrt(n). - T. D. Noe, Jun 14 2006
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=7 because of (0,1,3),(0,3,1),(1,0,3),(1,3,0),(3,0,1),(3,1,0),(1,1,1).
MATHEMATICA
CntFunc[s_List] := Module[{len=Length[Union[s]]}, If[len==3, 6, If[len==2, 3, 1]]]; Table[cnt=0; Do[z=(n-x*y)/(x+y); If[IntegerQ[z], cnt=cnt+CntFunc[{x, y, z}]], {x, 0, Sqrt[n/3]}, {y, Max[1, x], Sqrt[x^2+n]-x}]; cnt, {n, 100}] - T. D. Noe, Jun 14 2006
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Colin Mallows, Jan 31 2002
EXTENSIONS
Corrected and extended by T. D. Noe, Jun 14 2006
STATUS
approved