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.

A266385 a(n) = floor(10^k/n) where k is the smallest integer such that the whole first period or the whole terminating fractional part of the decimal expansion of 1/n is shifted to appear before the decimal point in 10^k/n.

Table of values

n a(n)
1 1
2 5
3 3
4 25
5 2
6 16
7 142857
8 125
9 1
10 1
11 9
12 83
13 76923
14 714285
15 6
16 625
17 588235294117647
18 5
19 52631578947368421
20 5
21 47619
22 45
23 434782608695652173913
24 416
25 4
26 384615
27 37
28 3571428
29 344827586206896551724137931
30 3
31 32258064516129
32 3125
33 3
34 2941176470588235
35 285714
36 27

List of values

[1, 5, 3, 25, 2, 16, 142857, 125, 1, 1, 9, 83, 76923, 714285, 6, 625, 588235294117647, 5, 52631578947368421, 5, 47619, 45, 434782608695652173913, 416, 4, 384615, 37, 3571428, 344827586206896551724137931, 3, 32258064516129, 3125, 3, 2941176470588235, 285714, 27]