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.

A151963 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the Kaprekar map in A151949.

Table of values

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

List of values

[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3, 2, 3, 7, 5, 6, 4, 4, 6, 5, 7, 3]