login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A232930
For each complex primitive Dirichlet character chi modulo n, let f(chi) be the least positive integer k for which chi(k) is not in the set {0,1}. Then a(n) is the sum of f(chi) over all such chi.
3
2, 3, 6, 0, 11, 8, 8, 0, 18, 5, 22, 0, 11, 12, 31, 0, 34, 17, 10, 0, 45, 20, 32, 0, 24, 17, 54, 0, 63, 24, 21, 0, 30, 20, 70, 0, 27, 22, 79, 0, 84, 27, 24, 0, 93, 20, 72, 0, 36, 33, 102, 0, 55, 38, 37, 0, 114, 27, 118, 0, 52, 48, 69, 0, 130, 47, 42, 0, 143, 40, 151, 0, 32, 55, 90, 0, 155, 52, 72, 0, 162, 33, 96, 0, 57, 56, 181, 0, 114, 63, 58, 0, 107, 40, 193, 0, 72, 48, 198, 0, 203, 78, 39, 0, 210, 60, 216, 0, 79, 60, 225, 0, 126, 85, 100, 0, 159, 46
OFFSET
3,1
LINKS
S. R. Finch, Average least nonresidues, December 4, 2013. [Cached copy, with permission of the author]
G. Martin and P. Pollack, The average least character non-residue and further variations on a theme of Erdos, J. London Math. Soc. 87 (2013) 22-42.
R. J. Mathar, Table of Dirichlet L-series and prime zeta modulo functions for small moduli, arXiv:1008.2547 [math.NT], 2010-2015.
EXAMPLE
a(6)=0 since there are no primitive Dirichlet characters mod 6.
CROSSREFS
Cf. A007431.
Sequence in context: A078890 A021813 A082052 * A217100 A241293 A107409
KEYWORD
nonn
AUTHOR
Steven Finch, Dec 02 2013
STATUS
approved