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.

A318516 a(n) = A032742(n) OR n-A032742(n), where OR is bitwise-or (A003986) and A032742 = the largest proper divisor of n.

Table of values

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

List of values

[1, 1, 3, 2, 5, 3, 7, 4, 7, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 15, 11, 23, 12, 21, 13, 27, 14, 29, 15, 31, 16, 31, 17, 31, 18, 37, 19, 31, 20, 41, 21, 43, 22, 31, 23, 47, 24, 47, 25, 51, 26, 53, 27, 47, 28, 55, 29, 59, 30, 61, 31, 63, 32, 61, 33, 67, 34, 63, 35, 71, 36, 73, 37, 59, 38, 75, 39, 79, 40, 63, 41, 83, 42]