A325938 a(n) = omega(n)^tau(n), where omega=A001221 and tau=A000005.
0, 1, 1, 1, 1, 16, 1, 1, 1, 16, 1, 64, 1, 16, 16, 1, 1, 64, 1, 64, 16, 16, 1, 256, 1, 16, 1, 64, 1, 6561, 1, 1, 16, 16, 16, 512, 1, 16, 16, 256, 1, 6561, 1, 64, 64, 16, 1, 1024, 1, 64, 16, 64, 1, 256, 16, 256, 16, 16, 1, 531441, 1, 16, 64, 1, 16, 6561, 1, 64
Offset: 1
Keywords
Examples
a(5) = 1; 5 has one distinct prime divisor {5} and two divisors {1,5}, so a(5) = 1^2 = 1. a(6) = 16; 6 has two distinct prime divisors {2,3} and four divisors {1,2,3,6}, so a(6) = 2^4 = 16.
Links
- Hauke Löffler, Table of n, a(n) for n = 1..10000
Programs
-
PARI
a(n) = {omega(n)^numdiv(n)} \\ Andrew Howroyd, Sep 09 2019
-
SageMath
[ len(prime_divisors(x))^(len(divisors(x))) for x in range(1,20) ]