A147757
Palindromes formed from the reflected decimal expansion of the concatenation of 1, 0 and infinite digits 1.
Original entry on oeis.org
1, 11, 101, 1001, 10101, 101101, 1011101, 10111101, 101111101, 1011111101, 10111111101, 101111111101, 1011111111101, 10111111111101, 101111111111101, 1011111111111101, 10111111111111101, 101111111111111101
Offset: 1
n .... Successive digits of a(n)
1 ............. ( 1 )
2 ............ ( 1 1 )
3 ........... ( 1 0 1 )
4 .......... ( 1 0 0 1 )
5 ......... ( 1 0 1 0 1 )
6 ........ ( 1 0 1 1 0 1 )
7 ....... ( 1 0 1 1 1 0 1 )
8 ...... ( 1 0 1 1 1 1 0 1 )
9 ..... ( 1 0 1 1 1 1 1 0 1 )
10 ... ( 1 0 1 1 1 1 1 1 0 1 )
-
f[n_] := Block[{w = {1, 0}}, Which[n == 1, w = {1}, n == 2, w = {1, 1}, n == 3, AppendTo[w, 1], n >= 4, w = Join[w, Table[1, {n - 4}], Reverse@ w]]; FromDigits@ w]; Array[f, 19] (* Michael De Vlieger, Dec 05 2015 *)
LinearRecurrence[{11,-10},{1,11,101,1001,10101},20] (* Harvey P. Dale, Aug 02 2017 *)
-
Vec( x+11*x^2+101*x^3 -91*x^4*(-11+10*x) / ( (10*x-1)*(x-1) ) + O(x^30)) \\ Michel Marcus, Dec 05 2015
A153498
Palindromes formed from concatenation of A147759(n) and the same string A147759(n) but without its initial digit.
Original entry on oeis.org
1, 111, 10101, 1001001, 101010101, 10110101101, 1010101010101, 101001010100101, 10101010101010101, 1010110101010110101, 101010101010101010101, 10101001010101010010101
Offset: 1
n ............. a(n)
1 .............. 1
2 ............. 111
3 ............ 10101
4 ........... 1001001
5 .......... 101010101
6 ......... 10110101101
7 ........ 1010101010101
8 ....... 101001010100101
9 ...... 10101010101010101
10 .... 1010110101010110101
11 ... 101010101010101010101
======================================
Another visualization of the structure
======================================
1 .............. *
2 ............. /|\
3 ............ /.|.\
4 ........... /..|..\
5 .......... /.*.|.*.\
6 ......... /./|.|.|\.\
7 ........ /./.|.|.|.\.\
8 ....... /./..|.|.|..\.\
9 ...... /./.*.|.|.|.*.\.\
10 .... /././|.|.|.|.|\.\.\
11 ... /././.|.|.|.|.|.\.\.\
A153500
First 3 terms coincide with A152756. For n>3, a(n) is the palindromic number formed from concatenation of 1, 0, A147759(n-3), 0, A147759(n-3), 0 and 1.
Original entry on oeis.org
1, 101, 10001, 1010101, 101101101, 10101010101, 1010010100101, 101010101010101, 10101101010110101, 1010101010101010101, 101010010101010010101, 10101010101010101010101, 1010101101010101011010101, 101010101010101010101010101, 10101010010101010101001010101
Offset: 1
n ............ a(n)
1 ............. 1
2 ............ 101
3 ........... 10001
4 .......... 1010101
5 ......... 101101101
6 ........ 10101010101
7 ....... 1010010100101
8 ...... 101010101010101
9 ..... 10101101010110101
10 ... 1010101010101010101
======================================
Another visualization of the structure
======================================
1 ............. *
2 ............ /.\
3 ........... /...\
4 .......... /.*.*.\
5 ......... /./|.|\.\
6 ........ /./.|.|.\.\
7 ....... /./..|.|..\.\
8 ...... /./.*.|.|.*.\.\
9 ..... /././|.|.|.|\.\.\
10 ... /././.|.|.|.|.\.\.\
Showing 1-3 of 3 results.
Comments