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.

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

Table of values

n a(n)
0 1
1 3
2 6
3 3
4 10
5 5
6 18
7 9
8 28
9 14
10 7
11 38
12 19
13 60
14 30
15 15
16 68
17 34
18 17
19 84
20 42
21 21
22 100
23 50
24 25
25 122
26 61
27 164
28 82
29 41
30 154
31 77
32 208
33 104
34 52
35 26
36 13
37 170
38 85
39 252
40 126
41 63
42 244
43 122
44 61
45 258
46 129
47 340
48 170
49 85
50 314
51 157
52 396
53 198
54 99
55 356
56 178
57 89
58 360
59 180
60 90
61 45

List of values

[1, 3, 6, 3, 10, 5, 18, 9, 28, 14, 7, 38, 19, 60, 30, 15, 68, 34, 17, 84, 42, 21, 100, 50, 25, 122, 61, 164, 82, 41, 154, 77, 208, 104, 52, 26, 13, 170, 85, 252, 126, 63, 244, 122, 61, 258, 129, 340, 170, 85, 314, 157, 396, 198, 99, 356, 178, 89, 360, 180, 90, 45]