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.

A049914 a(n) = a(1) + a(2) + ... + a(n-1) - a(m) for n >= 4, where m = n - 1 - 2^p and p is the unique integer such that 2^p < n - 1 <= 2^(p+1), starting with a(1) = 1, a(2) = 2 and a(3) = 4.

Table of values

n a(n)
1 1
2 2
3 4
4 6
5 11
6 23
7 45
8 88
9 174
10 353
11 705
12 1408
13 2814
14 5623
15 11234
16 22446
17 44849
18 89785
19 179569
20 359136
21 718270
22 1436535
23 2873058
24 5746094
25 11492145
26 22984204
27 45968229
28 91936106
29 183871509
30 367741612
31 735480415
32 1470955219

List of values

[1, 2, 4, 6, 11, 23, 45, 88, 174, 353, 705, 1408, 2814, 5623, 11234, 22446, 44849, 89785, 179569, 359136, 718270, 1436535, 2873058, 5746094, 11492145, 22984204, 45968229, 91936106, 183871509, 367741612, 735480415, 1470955219]