OFFSET
1,4
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
MATHEMATICA
{0}~Join~Array[#/CarmichaelLambda@ Denominator@ BernoulliB@ # &, 89] (* Michael De Vlieger, Nov 23 2021 *)
PROG
(PARI) A346468(n) = if(1==n, 0, my(m=1); fordiv(n-1, d, if(isprime(1+d), m = lcm(m, d))); ((n-1)/m));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen and Thomas Ordowski, Jul 22 2021
STATUS
approved