login
A334200
Fully additive with a(n) = n-1 for n <= 3, and a(p) = 1 + a(A048673(p)) when p is prime > 3 and a(n*m) = a(n) + a(m) when m,n > 1.
5
0, 1, 2, 2, 3, 3, 4, 3, 4, 4, 5, 4, 5, 5, 5, 4, 5, 5, 5, 5, 6, 6, 6, 5, 6, 6, 6, 6, 5, 6, 6, 5, 7, 6, 7, 6, 7, 6, 7, 6, 7, 7, 6, 7, 7, 7, 7, 6, 8, 7, 7, 7, 7, 7, 8, 7, 7, 6, 7, 7, 7, 7, 8, 6, 8, 8, 7, 7, 8, 8, 8, 7, 7, 8, 8, 7, 9, 8, 8, 7, 8, 8, 8, 8, 8, 7, 7, 8, 9, 8, 9, 8, 8, 8, 8, 7, 8, 9, 9, 8, 8, 8, 8, 8, 9
OFFSET
1,3
PROG
(PARI) A334200(n) = if(n<=3, n-1, if(isprime(n), 1+A334200((1+nextprime(1+n))/2), my(f=factor(n)); (apply(A334200, f[, 1])~ * f[, 2])));
CROSSREFS
Cf. also A064097, A334206.
Sequence in context: A122953 A259847 A259103 * A128998 A137813 A003313
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 13 2020
STATUS
approved