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.

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

Table of values

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

List of values

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