login
A351450
a(n) = A064989(A048250(A003961(n))).
5
1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 5, 2, 4, 2, 2, 1, 3, 2, 2, 1, 4, 5, 6, 2, 1, 4, 2, 2, 1, 2, 17, 1, 10, 3, 2, 2, 10, 2, 8, 1, 7, 4, 2, 5, 2, 6, 8, 2, 2, 1, 6, 4, 6, 2, 5, 2, 4, 1, 29, 2, 13, 17, 4, 1, 4, 10, 4, 3, 12, 2, 31, 2, 3, 10, 2, 2, 10, 8, 10, 1, 2, 7, 12, 4, 3, 2, 2, 5, 25, 2, 8, 6, 34, 8, 2
OFFSET
1,3
FORMULA
Multiplicative with a(p^e) = A064989(q+1), where q = nextPrime(p) = A151800(p).
a(n) = A064989(A048250(A003961(n))).
PROG
(PARI)
A003961(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
A048250(n) = factorback(apply(p -> p+1, factor(n)[, 1]));
A064989(n) = { my(f = factor(n>>valuation(n, 2))); for(i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
CROSSREFS
Cf. also A351441.
Sequence in context: A213408 A183953 A080236 * A221646 A344320 A249161
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Feb 11 2022
STATUS
approved