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.

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

Table of values

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

List of values

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