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.

A340996 a(n) is the number of different primes that can be expressed as n mod p where p < n is prime.

Table of values

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

List of values

[0, 0, 0, 0, 1, 0, 1, 2, 1, 1, 1, 2, 2, 2, 1, 3, 2, 3, 2, 3, 1, 3, 2, 5, 2, 4, 2, 4, 3, 4, 3, 3, 4, 3, 1, 6, 3, 4, 2, 6, 3, 6, 3, 5, 4, 5, 4, 7, 4, 6, 4, 5, 3, 8, 3, 5, 3, 6, 4, 9, 3, 6, 5, 8, 4, 7, 2, 6, 4, 8, 4, 9, 5, 7, 5, 8, 3, 9, 5, 7, 7, 7, 4, 10, 5, 6, 5, 7, 6, 12, 5, 7, 7, 7, 4, 11, 5, 9]