A324892 Multiplicative with a(p^e) = p^e if sigma(p^e) is prime, and 1 otherwise.
1, 2, 1, 4, 1, 2, 1, 1, 9, 2, 1, 4, 1, 2, 1, 16, 1, 18, 1, 4, 1, 2, 1, 1, 25, 2, 1, 4, 1, 2, 1, 1, 1, 2, 1, 36, 1, 2, 1, 1, 1, 2, 1, 4, 9, 2, 1, 16, 1, 50, 1, 4, 1, 2, 1, 1, 1, 2, 1, 4, 1, 2, 9, 64, 1, 2, 1, 4, 1, 2, 1, 9, 1, 2, 25, 4, 1, 2, 1, 16, 1, 2, 1, 4, 1, 2, 1, 1, 1, 18, 1, 4, 1, 2, 1, 1, 1, 2, 9, 100, 1, 2, 1, 1, 1
Offset: 1
Examples
For n = 150 = 2 * 3 * 5^2, sigma(2) = 3 is a prime, sigma(3) = 4 is not prime, and sigma(25) = 31 is a prime, thus a(150) = 2 * 25 = 50.
Links
Programs
Formula
Multiplicative with a(p^e) = p^e if (p^(1+e) - 1)/(p-1) = 1 + p + p^2 + ... + p^e is prime, and 1 otherwise.
a(n) = n / A324894(n).