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.

A062128 In base 2: start with n; if palindrome, stop; otherwise add to itself with digits reversed; a(n) gives palindrome at which it stops, or -1 if no palindrome is ever reached.

Table of values

n a(n)
0 0
1 1
2 11
3 11
4 101
5 101
6 1001
7 111
8 1001
9 1001
10 1111
11 11011
12 1111
13 11011
14 10101
15 1111
16 10001
17 10001
18 11011
19 1100011
20 1100011
21 10101
22 -1
23 111111
24 11011
25 1100011
26 -1
27 11011
28 -1
29 111111
30 101101
31 11111
32 100001
33 100001
34 110011
35 -1
36 101101
37 -1
38 111111
39 1100011
40 101101
41 -1
42 111111
43 1100011
44 1100011

List of values

[0, 1, 11, 11, 101, 101, 1001, 111, 1001, 1001, 1111, 11011, 1111, 11011, 10101, 1111, 10001, 10001, 11011, 1100011, 1100011, 10101, -1, 111111, 11011, 1100011, -1, 11011, -1, 111111, 101101, 11111, 100001, 100001, 110011, -1, 101101, -1, 111111, 1100011, 101101, -1, 111111, 1100011, 1100011]