OFFSET
1,2
COMMENTS
All odd primes are terms of this sequence.
EXAMPLE
15 is not a term of this sequence because (15-x)*(15-y)*(15-z) = x*y*z has the solution (5,5,12).
PROG
(Python)
def exis(n):
for x in range(1, n):
for y in range(x+1):
for z in range(y+1):
if x*y*z==(k-x)*(k-y)*(k-z):
return True
return False
for k in range(1, 200, 2):
if not exis(k):
print(str(k), end=', ')
(PARI) is(n)=for(x=1, n-1, for(y=1, x, my(t=(n-x)*(n-y), z=t*n/(x*y+t)); if(denominator(z)==1 && 0 < z && z < n, return(0)))); 1 \\ Charles R Greathouse IV, Dec 09 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Nurdin Takenov (greanvert(AT)gmail.com), Sep 14 2009
EXTENSIONS
Edited by Charles R Greathouse IV, Dec 09 2014
STATUS
approved