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.

A293982 Length (= size) of the orbit of n under iterations of A293975: x -> x/2 if even, x + nextprime(x) if odd; or -1 if the orbit is infinite.

Table of values

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

List of values

[1, 5, 5, 5, 5, 8, 6, 13, 5, 11, 9, 9, 7, 10, 14, 8, 6, 14, 12, 14, 10, 12, 10, 13, 8, 19, 11, 17, 15, 11, 9, 17, 7, 17, 15, 15, 13, 15, 15, 13, 11, 15, 13, 18, 11, 16, 14, 22, 9, 16, 20, 14, 12, 18, 18, 16, 16, 14, 12, 12, 10, 10, 18, 22, 8, 20, 18, 20, 16, 18, 16, 16, 14]