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.

A165006 Number of cycles of n-digit numbers (including fixed points) under the base-3 Kaprekar map A164993.

Table of values

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

List of values

[1, 0, 0, 1, 1, 1, 2, 1, 3, 2, 5, 2, 6, 3, 7, 4, 10, 5, 12, 6, 13, 7, 16, 8, 17, 9, 19, 10, 22, 11, 23, 14, 26, 15, 30, 16, 33, 18, 34, 19, 37, 20, 39, 23, 42, 24, 47, 25, 48, 26, 50, 28, 55, 29, 56, 32, 59, 33, 63, 34, 64, 37, 65, 40, 72, 41, 78, 44, 79, 46, 82, 49, 83, 51, 87, 52]