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.

A361942 For any number n >= 0 with binary expansion (b_1, ..., b_w), a(n) is the least p > 0 such that b_i = b_{p+i} for i = 1..w-p.

Table of values

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

List of values

[1, 1, 2, 1, 3, 2, 3, 1, 4, 3, 2, 3, 4, 3, 4, 1, 5, 4, 3, 4, 5, 2, 3, 4, 5, 4, 5, 3, 5, 4, 5, 1, 6, 5, 4, 5, 3, 5, 4, 5, 6, 5, 2, 5, 6, 3, 4, 5, 6, 5, 6, 4, 6, 5, 3, 4, 6, 5, 6, 4, 6, 5, 6, 1, 7, 6, 5, 6, 4, 6, 5, 6, 7, 3, 5, 6, 4, 6, 5, 6, 7, 6, 5, 6, 7, 2, 5]