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.

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

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

List of values

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