OFFSET
1,2
COMMENTS
After the first term a(1) = 1, the next odd term is a(44) = 1683, the next term that is coprime to 6 is a(159) = 10465, and the next term that is coprime to 30 is a(1359) = 151487.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[2500], Divisible[LCM @@ (Divisors[#] + 1), #] &]
PROG
(PARI) is(k) = !(lcm(apply(x->x+1, divisors(k))) % k);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 12 2024
STATUS
approved