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.

A117817 Let T_n be the infinite sequence formed by starting with 1 and repeatedly reversing the digits and adding n to get the next term. If T_n eventually reaches a cycle, sequence gives length of that cycle, otherwise -1.

Table of values

n a(n)
1 9
2 81
3 3
4 54
5 207
6 30
7 63
8 27
9 1
10 -1
11 9
12 15
13 18
14 72
15 -1
16 90
17 54
18 13
19 18
20 -1
21 15
22 9
23 9
24 36
25 45
26 18
27 9
28 36
29 18
30 -1
31 9
32 9
33 3
34 36
35 72
36 2
37 27
38 18
39 3
40 -1
41 18
42 57
43 63
44 9
45 22
46 90
47 18
48 30
49 54
50 -1
51 6
52 99
53 54
54 13
55 36
56 207
57 12
58 63
59 45
60 -1
61 36
62 27
63 30
64 108
65 36
66 264
67 99
68 36
69 3
70 -1
71 18
72 22
73 45
74 90
75 12
76 45
77 117
78 192
79 18
80 -1
81 36
82 45
83 63
84 168
85 1008
86 36
87 24
88 306
89 9
90 -1
91 99
92 639
93 36
94 54
95 144
96 18
97 225
98 468
99 1
100 -1
101 18
102 300
103 189
104 171
105 765
106 90
107 45
108 462
109 90
110 -1
111 9
112 513
113 63
114 69

List of values

[9, 81, 3, 54, 207, 30, 63, 27, 1, -1, 9, 15, 18, 72, -1, 90, 54, 13, 18, -1, 15, 9, 9, 36, 45, 18, 9, 36, 18, -1, 9, 9, 3, 36, 72, 2, 27, 18, 3, -1, 18, 57, 63, 9, 22, 90, 18, 30, 54, -1, 6, 99, 54, 13, 36, 207, 12, 63, 45, -1, 36, 27, 30, 108, 36, 264, 99, 36, 3, -1, 18, 22, 45, 90, 12, 45, 117, 192, 18, -1, 36, 45, 63, 168, 1008, 36, 24, 306, 9, -1, 99, 639, 36, 54, 144, 18, 225, 468, 1, -1, 18, 300, 189, 171, 765, 90, 45, 462, 90, -1, 9, 513, 63, 69]