OFFSET
1,1
COMMENTS
LINKS
Wikipedia, Dirichlet character.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
EXAMPLE
47 is a term since there are Dirichlet characters modulo 47 of order 23 or 46, and Q(zeta_23) = Q(zeta_46) does not have class number 1.
73 is a term since there are Dirichlet characters modulo 73 of order 72, and Q(zeta_72) does not have class number 1.
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, May 27 2026
STATUS
approved
