OFFSET
1,1
COMMENTS
Any rational prime p coprime to N decomposes into a product of EulerPhi(N)/ord(p,N) prime ideals in Z[zeta_N], where ord(p,N) is the multiplicative order of p modulo N. As a result, this sequence lists primes P such that: there exist some Dirichlet characters chi modulo P such that no rational primes p remain prime in Z[chi], where Z[chi] is the ring generated by values of chi.
LINKS
Wikipedia, Dirichlet character.
EXAMPLE
13 is a term since there are Dirichlet characters modulo 13 of order 12, and no rational primes remain inert in Z[zeta_12].
17 is a term since there are Dirichlet characters modulo 17 of order 8 or 16, and in either Z[zeta_8] or Z[zeta_16] there are no rational primes remaining inert.
PROG
(PARI) isoddprimepower(n) = (n%2) && isprimepower(n)
isA396481(p) = isprime(p) && (p>5 && !isoddprimepower((p-1)/2))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, May 27 2026
STATUS
approved
