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.

A125050 a(1) = 1. If a(n) is composite, a(n+1) = 2*a(n)+1; otherwise, a(n+1) = 2*a(n).

Table of values

n a(n)
1 1
2 2
3 4
4 9
5 19
6 38
7 77
8 155
9 311
10 622
11 1245
12 2491
13 4983
14 9967
15 19934
16 39869
17 79738
18 159477
19 318955
20 637911
21 1275823
22 2551646
23 5103293
24 10206587
25 20413175
26 40826351
27 81652702
28 163305405
29 326610811
30 653221623
31 1306443247
32 2612886495

List of values

[1, 2, 4, 9, 19, 38, 77, 155, 311, 622, 1245, 2491, 4983, 9967, 19934, 39869, 79738, 159477, 318955, 637911, 1275823, 2551646, 5103293, 10206587, 20413175, 40826351, 81652702, 163305405, 326610811, 653221623, 1306443247, 2612886495]