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.

A331530 a(n) is the number of nonnegative integers that can be represented in a 7-segment display by using only n segments (version A010371).

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 3
5 3
6 8
7 7
8 16
9 23
10 48
11 70
12 125
13 192
14 345
15 561
16 972
17 1578
18 2683
19 4436
20 7537
21 12536
22 21114
23 35163
24 59123
25 98837
26 166006
27 277650
28 465619
29 779296
30 1306674
31 2188248
32 3667717
33 6142653
34 10293460
35 17242678
36 28892956
37 48402553
38 81099234
39 135863965
40 227636213

List of values

[0, 0, 1, 0, 3, 3, 8, 7, 16, 23, 48, 70, 125, 192, 345, 561, 972, 1578, 2683, 4436, 7537, 12536, 21114, 35163, 59123, 98837, 166006, 277650, 465619, 779296, 1306674, 2188248, 3667717, 6142653, 10293460, 17242678, 28892956, 48402553, 81099234, 135863965, 227636213]