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.

A177864 a(n) is the smallest nontrivial quadratic residue modulo prime(n), for n >= 3.

Table of values

n a(n)
3 4
4 2
5 3
6 3
7 2
8 4
9 2
10 4
11 2
12 3
13 2
14 4
15 2
16 4
17 3
18 3
19 4
20 2
21 2
22 2
23 3
24 2
25 2
26 4
27 2
28 3
29 3
30 2
31 2
32 3
33 2
34 4
35 4
36 2
37 3
38 4
39 2
40 4
41 3
42 3
43 2
44 2
45 4
46 2
47 4
48 2
49 3
50 3
51 2
52 2
53 2
54 3
55 2
56 2
57 4
58 2
59 3
60 2
61 4
62 4
63 4
64 2
65 2
66 4
67 4
68 2
69 3
70 3
71 2
72 2
73 2
74 3
75 4
76 2
77 4
78 3
79 2
80 2
81 3
82 3
83 2
84 2
85 2
86 3
87 2
88 2
89 4
90 2
91 3
92 2
93 2
94 3
95 4
96 2
97 4
98 2
99 4
100 3

List of values

[4, 2, 3, 3, 2, 4, 2, 4, 2, 3, 2, 4, 2, 4, 3, 3, 4, 2, 2, 2, 3, 2, 2, 4, 2, 3, 3, 2, 2, 3, 2, 4, 4, 2, 3, 4, 2, 4, 3, 3, 2, 2, 4, 2, 4, 2, 3, 3, 2, 2, 2, 3, 2, 2, 4, 2, 3, 2, 4, 4, 4, 2, 2, 4, 4, 2, 3, 3, 2, 2, 2, 3, 4, 2, 4, 3, 2, 2, 3, 3, 2, 2, 2, 3, 2, 2, 4, 2, 3, 2, 2, 3, 4, 2, 4, 2, 4, 3]