OFFSET
1,1
LINKS
Tim Johannes Ohrtmann, Table of n, a(n) for n = 1..403
EXAMPLE
a(1) = 1517 because this is the first squarefree composite number n such that exactly three integers b except 0 exist such that for every prime factor p of n, p+b divides n+b (-35, -32, -29): 1517=37*41 and 2, 6 both divide 1482 and 5, 9 both divide 1485 and 8, 12 divide 1488.
PROG
(PARI) for(n=2, 1000000, if(!isprime(n), if(issquarefree(n), f=factor(n); k=0; for(b=-(f[1, 1]-1), n, c=0; for(i=1, #f[, 1], if((n+b)%(f[i, 1]+b)>0, c++)); if(c==0, if(!b==0, k++))); if(k==3, print1(n, ", ")))))
KEYWORD
nonn
AUTHOR
Tim Johannes Ohrtmann, May 07 2015
STATUS
approved