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.

A258246 Number of steps from n to 0, where allowable steps are x -> [x/Pi] if x = is in A022844 (the Beatty sequence for Pi) and x -> [Pi*x] otherwise, where [ ] = floor.

Table of values

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

List of values

[0, 2, 4, 1, 3, 5, 3, 5, 7, 5, 7, 9, 2, 4, 6, 4, 6, 8, 6, 8, 10, 4, 6, 8, 10, 6, 8, 10, 8, 10, 12, 6, 8, 10, 8, 10, 12, 10, 12, 14, 3, 5, 7, 5, 7, 9, 11, 7, 9, 11, 5, 7, 9, 7, 9, 11, 9, 11, 13, 7, 9, 11, 9, 11, 13, 11, 13, 15, 17, 5, 7, 9, 7, 9, 11, 9, 11, 13]