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.

A318518 a(n) = A032742(n) AND n-A032742(n), where AND is bitwise-and (A004198) and A032742 = the largest proper divisor of n.

Table of values

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

List of values

[0, 1, 0, 2, 0, 3, 0, 4, 2, 5, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 6, 11, 0, 12, 4, 13, 0, 14, 0, 15, 0, 16, 2, 17, 4, 18, 0, 19, 8, 20, 0, 21, 0, 22, 14, 23, 0, 24, 2, 25, 0, 26, 0, 27, 8, 28, 2, 29, 0, 30, 0, 31, 0, 32, 4, 33, 0, 34, 6, 35, 0, 36, 0, 37, 16, 38, 2, 39, 0, 40, 18, 41, 0, 42, 0, 43, 24, 44, 0, 45, 12, 46, 30, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0]