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.

A378212 a(n) is the greatest nonnegative integer k such that there exists a strictly increasing integer sequence k = b_1 < b_2 < ... < b_t = n with the property that b_1 XOR b_2 XOR ... XOR b_t = 0, or 0 if there are no such k (when n is a power of 2).

Table of values

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

List of values

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