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.

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

Table of values

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

List of values

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