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.

A342265 Lexicographically earliest sequence of distinct nonnegative terms such that both a(n) and the cumulative sum a(1)+a(2)+...+a(n) have digits in nondecreasing order.

Table of values

n a(n)
1 0
2 1
3 2
4 3
5 5
6 4
7 7
8 6
9 8
10 9
11 11
12 12
13 44
14 13
15 14
16 16
17 22
18 45
19 15
20 18
21 23
22 55
23 24
24 88
25 33
26 77
27 34
28 78
29 111
30 333
31 17
32 19
33 79
34 29
35 89
36 25
37 99
38 199
39 112
40 444
41 26
42 28
43 56
44 35
45 188
46 113
47 119
48 556
49 114
50 999
51 122
52 1199
53 888
54 123
55 4444
56 36
57 66
58 124
59 118
60 222
61 445
62 115
63 129
64 67
65 133
66 667
67 134
68 68
69 889
70 223

List of values

[0, 1, 2, 3, 5, 4, 7, 6, 8, 9, 11, 12, 44, 13, 14, 16, 22, 45, 15, 18, 23, 55, 24, 88, 33, 77, 34, 78, 111, 333, 17, 19, 79, 29, 89, 25, 99, 199, 112, 444, 26, 28, 56, 35, 188, 113, 119, 556, 114, 999, 122, 1199, 888, 123, 4444, 36, 66, 124, 118, 222, 445, 115, 129, 67, 133, 667, 134, 68, 889, 223]