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.

A023049 Smallest prime > n having primitive root n, or 0 if no such prime exists.

Table of values

n a(n)
1 2
2 3
3 5
4 0
5 7
6 11
7 11
8 11
9 0
10 17
11 13
12 17
13 19
14 17
15 19
16 0
17 23
18 29
19 23
20 23
21 23
22 31
23 47
24 31
25 0
26 29
27 29
28 41
29 41
30 41
31 47
32 37
33 43
34 41
35 37
36 0
37 59
38 47
39 47
40 47
41 47
42 59
43 47
44 47
45 47
46 67
47 59
48 53
49 0
50 53
51 53
52 59
53 71
54 59
55 59
56 59
57 67
58 73
59 61
60 73
61 67
62 71
63 67
64 0
65 71
66 79
67 71
68 71
69 71
70 79
71 83
72 83
73 83
74 79

List of values

[2, 3, 5, 0, 7, 11, 11, 11, 0, 17, 13, 17, 19, 17, 19, 0, 23, 29, 23, 23, 23, 31, 47, 31, 0, 29, 29, 41, 41, 41, 47, 37, 43, 41, 37, 0, 59, 47, 47, 47, 47, 59, 47, 47, 47, 67, 59, 53, 0, 53, 53, 59, 71, 59, 59, 59, 67, 73, 61, 73, 67, 71, 67, 0, 71, 79, 71, 71, 71, 79, 83, 83, 83, 79]