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.

A347688 Let c (resp. C) be the smallest (resp. largest) number that can be obtained by cyclically permuting the digits of n; a(n) = C - c.

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 9
11 0
12 9
13 18
14 27
15 36
16 45
17 54
18 63
19 72
20 18
21 9
22 0
23 9
24 18
25 27
26 36
27 45
28 54
29 63
30 27
31 18
32 9
33 0
34 9
35 18
36 27
37 36
38 45
39 54
40 36
41 27
42 18
43 9
44 0
45 9
46 18
47 27
48 36
49 45
50 45
51 36
52 27
53 18
54 9
55 0
56 9
57 18
58 27
59 36
60 54
61 45
62 36
63 27
64 18
65 9
66 0
67 9
68 18
69 27
70 63
71 54
72 45
73 36
74 27
75 18
76 9
77 0
78 9
79 18
80 72
81 63
82 54
83 45
84 36
85 27
86 18
87 9
88 0
89 9
90 81
91 72
92 63
93 54
94 45
95 36
96 27
97 18
98 9
99 0
100 99
101 99
102 189
103 279
104 369
105 459
106 549
107 639
108 729
109 819
110 99
111 0
112 99

List of values

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 9, 18, 27, 36, 45, 54, 63, 72, 18, 9, 0, 9, 18, 27, 36, 45, 54, 63, 27, 18, 9, 0, 9, 18, 27, 36, 45, 54, 36, 27, 18, 9, 0, 9, 18, 27, 36, 45, 45, 36, 27, 18, 9, 0, 9, 18, 27, 36, 54, 45, 36, 27, 18, 9, 0, 9, 18, 27, 63, 54, 45, 36, 27, 18, 9, 0, 9, 18, 72, 63, 54, 45, 36, 27, 18, 9, 0, 9, 81, 72, 63, 54, 45, 36, 27, 18, 9, 0, 99, 99, 189, 279, 369, 459, 549, 639, 729, 819, 99, 0, 99]