OFFSET
1,2
COMMENTS
FORMULA
For primes p > 2, a(p) = 3^((p-1)/2).
EXAMPLE
Let w = (1 + sqrt(3)*i)/2, w' = (1 - sqrt(3)*i)/2.
The divisors of 14 in Eisenstein integers are 1, 2, 2 + w, 2 + w', 7, 4 + 2*w, 4 + 2*w', 14 and there associations, and 14 is the smallest number having exactly 8 divisors in Eisenstein integers, so a(8) = 14.
The divisors of 21 in Eisenstein integers are 1, 2*w - 1, 3, 2 + w, 2 + w', 5 - w, 5 - w', 6 + 3*w, 6 + 3*w', 7, 14*w - 7, 21 and there associations, and 21 is the smallest number having exactly 12 divisors in Eisenstein integers, so a(12) = 21.
PROG
(PARI)
a(n) = if(isprime(n)&&n>2, 3^((n-1)/2), my(k=1); while(A319442(k)!=n, k++); k)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Jan 12 2019
STATUS
approved