OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..3500
MAPLE
Filter:= proc(n) local x, y, z, q;
for x from 1 to n-1 do
for y from x to n-1 do
z:= (n-x)*(n-y)*n/(n^2-n*x-n*y+2*x*y);
if z::integer and not has({x, y, z}, n/2) then return true fi;
od od;
false
end proc:
select(Filter, [$1..300]); # Robert Israel, Dec 30 2015
MATHEMATICA
okQ[n_] := Do[z = (n-x)(n-y)n/(n^2 - n x - n y + 2 x y); If[IntegerQ[z] && AllTrue[{x, y, z}, FreeQ[#, (n-x)|(n-y)|(n-z)]&], Return[True]], {x, 1, n-1}, {y, x, n-1}];
Select[Range[200], okQ] (* Jean-François Alcover, Jun 16 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev, Feb 26 2005
STATUS
approved