OFFSET
1,9
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
PROG
(PARI) A346481(n) = if(1==n, n, my(m1=1, m2=1); fordiv(n-1, d, if(isprime(1+d), m1 = lcm(m1, d); if(!(n%(1+d)), m2 = lcm(m2, d)))); (m1/m2));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 31 2021
STATUS
approved