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.

A108782 Difference between n and the largest number with the same digit set as n.

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 18, 27, 36, 45, 54, 63, 72, 0, 0, 0, 9, 18, 27, 36, 45, 54, 63, 0, 0, 0, 0, 9, 18, 27, 36, 45, 54, 0, 0, 0, 0, 0, 9, 18, 27, 36, 45, 0, 0, 0, 0, 0, 0, 9, 18, 27, 36, 0, 0, 0, 0, 0, 0, 0, 9, 18, 27, 0, 0, 0, 0, 0, 0, 0, 0, 9, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0]