cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A232929 For each complex nonprincipal 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.

Table of values

n a(n)
3 2
4 3
5 6
6 5
7 11
8 11
9 10
10 9
11 18
12 17
13 22
14 15
15 19
16 23
17 31
18 25
19 34
20 29
21 25
22 31
23 45
24 47
25 38
26 39
27 34
28 35
29 54
30 53
31 63
32 47
33 41
34 45
35 47
36 57
37 70
38 51
39 51
40 61
41 79
42 61
43 84
44 61
45 51
46 65
47 93
48 87
49 83
50 57
51 71
52 75
53 102
54 85
55 79
56 81
57 73
58 81
59 114
60 119
61 118
62 87
63 85
64 95
65 97
66 97
67 130
68 95
69 89
70 85
71 143
72 127
73 151
74 107
75 83
76 109
77 119
78 125
79 155
80 125
81 106
82 125
83 162
84 135
85 133
86 123
87 113
88 125
89 181
90 165
91 147
92 131
93 139
94 137
95 147
96 167
97 193
98 123
99 121
100 125
101 198
102 157
103 203
104 161
105 123
106 153
107 210
108 177
109 216
110 121
111 151
112 153
113 225
114 183
115 179
116 169
117 159
118 179
119 201
120 255

List of values

[2, 3, 6, 5, 11, 11, 10, 9, 18, 17, 22, 15, 19, 23, 31, 25, 34, 29, 25, 31, 45, 47, 38, 39, 34, 35, 54, 53, 63, 47, 41, 45, 47, 57, 70, 51, 51, 61, 79, 61, 84, 61, 51, 65, 93, 87, 83, 57, 71, 75, 102, 85, 79, 81, 73, 81, 114, 119, 118, 87, 85, 95, 97, 97, 130, 95, 89, 85, 143, 127, 151, 107, 83, 109, 119, 125, 155, 125, 106, 125, 162, 135, 133, 123, 113, 125, 181, 165, 147, 131, 139, 137, 147, 167, 193, 123, 121, 125, 198, 157, 203, 161, 123, 153, 210, 177, 216, 121, 151, 153, 225, 183, 179, 169, 159, 179, 201, 255]