OFFSET
1,1
COMMENTS
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Wikipedia, Constructible number.
Wikipedia, Dirichlet character.
EXAMPLE
19 is a term since there are Dirichlet characters of order 9 or 18 modulo 19, and exp(2*Pi*I/9) and exp(2*Pi*I/18) are not constructible numbers (in other words, a regular polygon with 9 or 18 sides cannot be constructed with compass and straightedge).
23 is a term since there are Dirichlet characters of order 11 or 22 modulo 23, and exp(2*Pi*I/11) and exp(2*Pi*I/22) are not constructible numbers. Note however that these two numbers are constructible using a neusis.
47 is a term since there are Dirichlet characters of order 23 or 46 modulo 47, and exp(2*Pi*I/23) and exp(2*Pi*I/46) are not constructible numbers, even with neusis construction.
MATHEMATICA
Select[Prime[Range[100]], BitAnd[#, # - 1] > 0 & [EulerPhi[# - 1]] &] (* Paolo Xausa, Aug 18 2026 *)
PROG
(PARI) ispower2(n) = (bitand(n, n-1) == 0)
isA396555(p) = (isprime(p) && !ispower2(eulerphi(p-1)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, May 29 2026
STATUS
approved