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.

A277832 Number of '2' digits in the set of all numbers from 0 to A014824(n) = Sum_{i=1..n} i*10^(n-i) = (0, 1, 12, 123, 1234, 12345, ...).

Table of values

n a(n)
0 0
1 0
2 2
3 27
4 389
5 5121
6 63553
7 758985
8 8824417
9 100589849
10 1129355281
11 12528120713
12 137626886149
13 1499725651622
14 16231824417465
15 174663923187008
16 1870096021993551
17 19935528121170094
18 211700960224046637
19 2240466392363923180
20 23639231824873799723

List of values

[0, 0, 2, 27, 389, 5121, 63553, 758985, 8824417, 100589849, 1129355281, 12528120713, 137626886149, 1499725651622, 16231824417465, 174663923187008, 1870096021993551, 19935528121170094, 211700960224046637, 2240466392363923180, 23639231824873799723]