OFFSET
1,2
COMMENTS
EXAMPLE
34 is a member because 34^2+1=13*89 and 13+89=3*34.
MAPLE
filter:= proc(n) local F, t, y;
F:= ifactors(n^2+1)[2];
y:= add(t[1]*t[2], t=F);
y mod n = 0
end proc:
select(filter, [$1..10^6]);
PROG
(PARI) f(n) = (n=factor(n))[, 1]~*n[, 2]; \\ A001414
isok(k) = !(f(k^2+1) % k); \\ Michel Marcus, Aug 07 2019
CROSSREFS
KEYWORD
nonn,more
AUTHOR
J. M. Bergot and Robert Israel, Aug 06 2019
EXTENSIONS
a(5)-a(6) from Giovanni Resta, Aug 07 2019
STATUS
approved