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.

A089821 Number of subsets of {1,.., n} containing exactly one prime.

Table of values

n a(n)
1 0
2 2
3 4
4 8
5 12
6 24
7 32
8 64
9 128
10 256
11 320
12 640
13 768
14 1536
15 3072
16 6144
17 7168
18 14336
19 16384
20 32768
21 65536
22 131072
23 147456
24 294912
25 589824
26 1179648
27 2359296
28 4718592
29 5242880
30 10485760
31 11534336
32 23068672
33 46137344
34 92274688
35 184549376
36 369098752
37 402653184

List of values

[0, 2, 4, 8, 12, 24, 32, 64, 128, 256, 320, 640, 768, 1536, 3072, 6144, 7168, 14336, 16384, 32768, 65536, 131072, 147456, 294912, 589824, 1179648, 2359296, 4718592, 5242880, 10485760, 11534336, 23068672, 46137344, 92274688, 184549376, 369098752, 402653184]