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.

A125049 a(1) = 1. If a(n) is prime, a(n+1) = 2*a(n); otherwise, a(n+1) = 2*a(n) + 1.

Table of values

n a(n)
1 1
2 3
3 6
4 13
5 26
6 53
7 106
8 213
9 427
10 855
11 1711
12 3423
13 6847
14 13695
15 27391
16 54783
17 109567
18 219134
19 438269
20 876539
21 1753079
22 3506159
23 7012318
24 14024637
25 28049275
26 56098551
27 112197103
28 224394207
29 448788415
30 897576831
31 1795153663
32 3590307326

List of values

[1, 3, 6, 13, 26, 53, 106, 213, 427, 855, 1711, 3423, 6847, 13695, 27391, 54783, 109567, 219134, 438269, 876539, 1753079, 3506159, 7012318, 14024637, 28049275, 56098551, 112197103, 224394207, 448788415, 897576831, 1795153663, 3590307326]