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.

A118551 a(0)=1. a(n) = a(n-1)*2, if n is in the sequence. a(n) = a(n-1) + 1 if n is missing from the sequence.

Table of values

n a(n)
0 1
1 2
2 4
3 5
4 10
5 20
6 21
7 22
8 23
9 24
10 48
11 49
12 50
13 51
14 52
15 53
16 54
17 55
18 56
19 57
20 114
21 228
22 456
23 912
24 1824
25 1825
26 1826
27 1827
28 1828
29 1829
30 1830
31 1831
32 1832
33 1833
34 1834
35 1835
36 1836
37 1837
38 1838
39 1839
40 1840
41 1841
42 1842
43 1843
44 1844
45 1845
46 1846
47 1847
48 3694
49 7388
50 14776

List of values

[1, 2, 4, 5, 10, 20, 21, 22, 23, 24, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 114, 228, 456, 912, 1824, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 3694, 7388, 14776]