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 k such that: there exist some Dirichlet characters chi modulo k 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].
32 is a term since there are Dirichlet characters modulo 32 of order 8, and no rational primes remain inert in Z[zeta_8].
PROG
(PARI) isoddprimepower(n) = (n%2) && isprimepower(n)
isA396479(n) = (240%n!=0) && !isoddprimepower(znstar(n)[2][1]/2)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, May 27 2026
STATUS
approved
