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.

A062129 In base 2: start with n; add to itself with digits reversed; if palindrome, stop; otherwise repeat; 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 11
2 11
3 1001
4 101
5 1111
6 1001
7 10101
8 1001
9 11011
10 1111
11 11011
12 1111
13 11011
14 10101
15 101101
16 10001
17 110011
18 11011
19 1100011
20 1100011
21 111111
22 -1
23 111111
24 11011
25 1100011
26 -1
27 11111111
28 -1
29 111111
30 101101
31 1011101
32 100001
33 1100011
34 110011
35 -1
36 101101
37 -1
38 111111
39 1100011
40 101101
41 -1
42 111111

List of values

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