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.

A300654 a(n) is the greatest k such that, for i = 1..k, the binary representation of i appears as a substring in the binary representation of 1/n (ignoring the radix point and adding trailing zeros if necessary in case of a terminating expansion).

Table of values

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

List of values

[2, 2, 2, 2, 4, 2, 2, 2, 4, 4, 8, 2, 9, 2, 2, 2, 4, 4, 16, 4, 4, 8, 6, 2, 8, 9, 11, 2, 20, 2, 2, 2, 4, 4, 8, 4, 32, 16, 6, 4, 4, 4, 8, 8, 6, 6, 12, 2, 12, 8, 2, 9, 33, 11, 10, 2, 8, 20, 37, 2, 41, 2, 2, 2, 4, 4, 64, 4, 14, 8, 14, 4, 4, 32, 11, 16, 17, 6, 22, 4]