A308993 Multiplicative with a(p) = 1 and a(p^e) = p^a(e) for any e > 1 and prime number p.
1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 1, 4, 1, 3, 1, 2, 1, 1, 1, 2, 5, 1, 3, 2, 1, 1, 1, 2, 1, 1, 1, 6, 1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 1, 4, 7, 5, 1, 2, 1, 3, 1, 2, 1, 1, 1, 2, 1, 1, 3, 2, 1, 1, 1, 2, 1, 1, 1, 6, 1, 1, 5, 2, 1, 1, 1, 4, 9, 1, 1, 2, 1, 1, 1
Offset: 1
Examples
See Links sections.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, Illustration of first terms
Programs
-
PARI
a(n) = my (f=factor(n)); prod (i=1, #f~, f[i,1]^if (f[i,2]==1, 0, a(f[i,2])))
Comments