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.

A165007 Number of n-digit numbers in a cycle (including fixed points) under the base-3 Kaprekar map A164993.

Table of values

n a(n)
1 1
2 0
3 0
4 2
5 1
6 3
7 3
8 1
9 6
10 5
11 10
12 3
13 15
14 4
15 21
16 7
17 28
18 12
19 36
20 11
21 45
22 13
23 55
24 18
25 66
26 19
27 78
28 25
29 91
30 28
31 105
32 35
33 120
34 41
35 136
36 43
37 153
38 47
39 171
40 56
41 190
42 58
43 210
44 68
45 231
46 73
47 253
48 84
49 276
50 85
51 300
52 97
53 325
54 103
55 351
56 116
57 378
58 119
59 406
60 133
61 435
62 140
63 465
64 155
65 496
66 162

List of values

[1, 0, 0, 2, 1, 3, 3, 1, 6, 5, 10, 3, 15, 4, 21, 7, 28, 12, 36, 11, 45, 13, 55, 18, 66, 19, 78, 25, 91, 28, 105, 35, 120, 41, 136, 43, 153, 47, 171, 56, 190, 58, 210, 68, 231, 73, 253, 84, 276, 85, 300, 97, 325, 103, 351, 116, 378, 119, 406, 133, 435, 140, 465, 155, 496, 162]