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.

A071154 Totally balanced decimal numbers: if we assign the weight w(d) = d-1 to each digit d (i.e., w(0) = -1, w(1) = 0, ..., w(9) = 8) and then read the digits of the term from left to right, the partial sum of the weights is never negative and the total weighted sum is zero.

Table of values

n a(n)
1 1
2 11
3 20
4 111
5 120
6 201
7 210
8 300
9 1111
10 1120
11 1201
12 1210
13 1300
14 2011
15 2020
16 2101
17 2110
18 2200
19 3001
20 3010
21 3100
22 4000
23 11111
24 11120
25 11201
26 11210
27 11300
28 12011
29 12020
30 12101
31 12110
32 12200
33 13001
34 13010
35 13100
36 14000
37 20111
38 20120
39 20201

List of values

[1, 11, 20, 111, 120, 201, 210, 300, 1111, 1120, 1201, 1210, 1300, 2011, 2020, 2101, 2110, 2200, 3001, 3010, 3100, 4000, 11111, 11120, 11201, 11210, 11300, 12011, 12020, 12101, 12110, 12200, 13001, 13010, 13100, 14000, 20111, 20120, 20201]