OFFSET
0,1
COMMENTS
a(n) is the least squarefree composite integer, for which prime p | a(n) ==> p+n | a(n)+n.
REFERENCES
J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 399, p. 89, Ellipses, Paris 2008.
LINKS
Donovan Johnson, Table of n, a(n) for n = 0..250
J.-M. De Koninck, Those fascinating numbers, Entry 399, AMS, 2009.
PROG
(PARI) a(n) = {forcomposite (k=1, oo, if (issquarefree(k) && (omega(k) >= 2), my(f=factor(k)[, 1]); my(ok = 1); for (j=1, #f, if ((k+n) % (f[j]+n), ok = 0; break); ); if (ok, return (k)); ); ); } \\ Michel Marcus, Jan 09 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved