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.

A233327 Distance from 2^n to the nearest triangular number.

Table of values

n a(n)
0 0
1 1
2 1
3 2
4 1
5 4
6 2
7 8
8 3
9 16
10 11
11 32
12 1
13 64
14 87
15 128
16 167
17 256
18 306
19 512
20 500
21 1024
22 552
23 2048
24 688
25 4096
26 3041
27 8192
28 579
29 16384
30 20854
31 32768
32 37075
33 65536
34 55618
35 131072
36 37108
37 262144
38 222296
39 524288
40 147729
41 1048576
42 891994
43 2097152
44 602155
45 4194304
46 3523022

List of values

[0, 1, 1, 2, 1, 4, 2, 8, 3, 16, 11, 32, 1, 64, 87, 128, 167, 256, 306, 512, 500, 1024, 552, 2048, 688, 4096, 3041, 8192, 579, 16384, 20854, 32768, 37075, 65536, 55618, 131072, 37108, 262144, 222296, 524288, 147729, 1048576, 891994, 2097152, 602155, 4194304, 3523022]