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.

A151947 a(1) = 113; thereafter a(n) = (a(n-1) with digits sorted into descending order) - (a(n-1) with digits sorted into ascending order) (see the Kaprekar map, A151949).

Table of values

n a(n)
1 113
2 198
3 792
4 693
5 594
6 495
7 495
8 495
9 495
10 495
11 495
12 495
13 495
14 495
15 495
16 495
17 495
18 495
19 495
20 495
21 495
22 495
23 495
24 495
25 495
26 495
27 495
28 495
29 495
30 495
31 495
32 495
33 495
34 495
35 495
36 495
37 495
38 495
39 495
40 495
41 495
42 495
43 495
44 495
45 495
46 495
47 495
48 495

List of values

[113, 198, 792, 693, 594, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495]