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.

Showing 1-3 of 3 results.

A264406 Smallest palindrome of each distinct decimal type (A002113) in increasing order.

Original entry on oeis.org

1, 11, 101, 111, 1001, 1111, 10001, 10101, 10201, 11011, 11111, 100001, 101101, 102201, 110011, 111111, 1000001, 1001001, 1002001, 1010101, 1011101, 1012101, 1020201, 1021201, 1022201, 1023201, 1100011, 1101011, 1102011, 1110111, 1111111, 10000001, 10011001, 10022001, 10100101, 10111101, 10122101, 10200201, 10211201, 10222201, 10233201, 11000011, 11011011, 11022011, 11100111, 11111111
Offset: 1

Views

Author

Vladimir Shevelev, Dec 10 2015

Keywords

Comments

Only positive palindromes are considered.
The numbers N(n) of distinct types of n-digit palindromes, for n=1,2,..., are 1,1,2,2,5,5,15,15,... (A164904, n>=1). It is easy to see that N(2*n-1)=N(2*n), n>=1.

Examples

			The type corresponding to the term 1021201 has the form XYZXZYX, where X,Y,Z are distinct decimal digits, X>0.
		

Crossrefs

Extensions

Two missed terms were found by Peter J. C. Moses, Jan 07 2016

A267013 Number of distinct digital types of n-digit primes in base 10.

Original entry on oeis.org

1, 2, 4, 11, 51, 177, 876, 3965, 20782, 114459, 678536, 4160910, 27640731
Offset: 1

Views

Author

Keywords

Comments

The sequence is related to A266991.
Sequence {A164864(n) - a(n)}_(n>=1) begins 0,0,1,4,1,26,1,175,365,1516,...
One can explain, why, for example, a(4)=11, instead of A164864(4)=15. There exist exactly 4 types of 4-digit numbers, which cannot be prime. In A266946 these types are: 1001, 1010, 1100, 1111. Indeed, numbers abba,aabb,aaaa are divisible by 11; a number abab is divisible by 101.
In other cases of n-digit types we should verify the divisibility of numbers of types in A266946 at least by primes of the form 11,101,... Besides, a digital type 1...1 exists only for n in A004023, i.e., for only 9 values of n from the first 270343. This simplifies the calculations.
a(n) <= A376918(n) with equality for n <= 9, but thereafter some digital types which pass the divisibility rules of A376918 don't in fact occur among the primes (see A377727). - Dmytro Inosov, Nov 05 2024
Based on the conjectured terms in A377727, the next three terms can be conjectured: a(14)=190402538; a(15)=1378294708; a(16)=10437142874. - Dmytro Inosov, Jan 07 2025

Crossrefs

Formula

a(n) = A376918(n) - A377727(n). - Dmytro Inosov, Nov 05 2024

Extensions

a(11)-a(13) from Michael S. Branicky, Nov 04 2024

A188164 Number of palindromic structures of length n.

Original entry on oeis.org

1, 1, 1, 2, 2, 5, 5, 15, 15, 52, 52, 203, 203, 877, 877, 4140, 4140, 21147, 21147, 115975, 115975, 678570, 678570, 4213597, 4213597, 27644437, 27644437, 190899322, 190899322, 1382958545, 1382958545
Offset: 0

Views

Author

Keywords

Comments

Permuting the symbols does not change the structure; so e.g. aba and bab are equivalent.

Examples

			For n=4, the 2 structures are aaaa and abba. For n=5, the 5 structures are aaaaa, aabaa, ababa, abbba, and abcba.
		

Crossrefs

Formula

a(2n) = a(2n-1) = B(n), where B(n) = A000110(n) are the Bell numbers.
Showing 1-3 of 3 results.