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.

A375485 a(n) is the number of integers k between 0 and n such that n XOR k is a prime number (where XOR denotes the bitwise XOR operator).

Table of values

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

List of values

[0, 0, 2, 2, 2, 2, 4, 4, 2, 2, 4, 4, 4, 4, 6, 6, 5, 5, 7, 7, 7, 7, 9, 9, 7, 7, 9, 9, 9, 9, 11, 11, 7, 7, 9, 9, 9, 9, 11, 11, 9, 9, 11, 11, 11, 11, 13, 13, 12, 12, 14, 14, 14, 14, 16, 16, 14, 14, 16, 16, 16, 16, 18, 18, 13, 13, 15, 15, 15, 15, 17, 17, 15, 15, 17]