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.

A370350 Number of steps to go from n to 1 in a variant of the Collatz iteration x -> (x / 5 if 5 divides x, x + (x+(5-(x mod 5)))/5 otherwise), or -1 if 1 is never reached.

Table of values

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

List of values

[0, 4, 3, 2, 1, 7, 17, 6, 16, 5, 15, 5, 5, 14, 4, 4, 13, 11, 11, 3, 12, 10, 10, 20, 2, 11, 9, 9, 19, 8, 69, 10, 8, 8, 18, 17, 18, 68, 9, 7, 7, 8, 77, 16, 17, 67, 8, 17, 8, 6, 7, 76, 15, 7, 16, 66, 7, 16, 7, 6, 75, 6, 75, 14, 6, 6, 16, 65, 6, 15, 6, 15, 24, 74]