OFFSET
1,4
MAPLE
f:=proc(n) local i, j, k, t1; t1:={}; for i from 1 to n-2 do for j from i+1 to n-1 do for k from j+1 to n do t1:={op(t1), i*j+j*k+k*i}; od: od: od: t1:=convert(t1, list); nops(t1); end;
MATHEMATICA
f[n_] := Length[ Union[ Flatten[ Table[i*j + j*k + k*i, {i, n}, {j, i + 1, n}, {k, j + 1, n}] ]]]; Table[ f[n], {n, 49}] (* Robert G. Wilson v, Dec 14 2004 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 21 2004
EXTENSIONS
More terms from Robert G. Wilson v, Dec 14 2004
STATUS
approved