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.

A135287 a(0)=1; for n > 0, a(n) = a(n-1)+n if a(n-1) is odd, else a(n) = a(n-1)/2.

Table of values

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

List of values

[1, 2, 1, 4, 2, 1, 7, 14, 7, 16, 8, 4, 2, 1, 15, 30, 15, 32, 16, 8, 4, 2, 1, 24, 12, 6, 3, 30, 15, 44, 22, 11, 43, 76, 38, 19, 55, 92, 46, 23, 63, 104, 52, 26, 13, 58, 29, 76, 38, 19, 69, 120, 60, 30, 15, 70, 35, 92, 46, 23, 83]