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.

A383788 Smallest number obtainable by either keeping each decimal digit d in n or replacing it with 9-d.

Table of values

n a(n)
1 1
2 2
3 3
4 4
5 4
6 3
7 2
8 1
9 0
10 10
11 11
12 12
13 13
14 14
15 14
16 13
17 12
18 11
19 10
20 20
21 21
22 22
23 23
24 24
25 24
26 23
27 22
28 21
29 20
30 30
31 31
32 32
33 33
34 34
35 34
36 33
37 32
38 31
39 30
40 40
41 41
42 42
43 43
44 44
45 44
46 43
47 42
48 41
49 40
50 40
51 41
52 42
53 43
54 44
55 44
56 43
57 42
58 41
59 40
60 30
61 31
62 32
63 33
64 34
65 34
66 33
67 32
68 31
69 30
70 20
71 21
72 22
73 23
74 24
75 24
76 23
77 22

List of values

[1, 2, 3, 4, 4, 3, 2, 1, 0, 10, 11, 12, 13, 14, 14, 13, 12, 11, 10, 20, 21, 22, 23, 24, 24, 23, 22, 21, 20, 30, 31, 32, 33, 34, 34, 33, 32, 31, 30, 40, 41, 42, 43, 44, 44, 43, 42, 41, 40, 40, 41, 42, 43, 44, 44, 43, 42, 41, 40, 30, 31, 32, 33, 34, 34, 33, 32, 31, 30, 20, 21, 22, 23, 24, 24, 23, 22]