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.

A358166 a(1) = 13; for n > 1, if a(n-1) is even, then a(n) = a(n-1)/2; otherwise, a(n) = a(n-1) + prime(a(n-1)).

Table of values

n a(n)
1 13
2 54
3 27
4 130
5 65
6 378
7 189
8 1318
9 659
10 5592
11 2796
12 1398
13 699
14 5972
15 2986
16 1493
17 13996
18 6998
19 3499
20 36102
21 18051
22 218932
23 109466
24 54733
25 730334
26 365167
27 5622764
28 2811382
29 1405691
30 23685544
31 11842772
32 5921386
33 2960693
34 52246474
35 26123237
36 521463688
37 260731844
38 130365922
39 65182961
40 1364229390

List of values

[13, 54, 27, 130, 65, 378, 189, 1318, 659, 5592, 2796, 1398, 699, 5972, 2986, 1493, 13996, 6998, 3499, 36102, 18051, 218932, 109466, 54733, 730334, 365167, 5622764, 2811382, 1405691, 23685544, 11842772, 5921386, 2960693, 52246474, 26123237, 521463688, 260731844, 130365922, 65182961, 1364229390]