login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A082276
Smallest number whose digits can be permuted to get exactly n distinct palindromes.
1
1, 101, 1001, 10001, 100001, 112233, 10000001, 100122, 10000111, 1111112222, 100000000001, 1000122, 10000000000001, 1000011111, 10011122, 1000000111, 100000000000000001, 10000122, 10000000000000000001, 1111112233, 11111111112222, 10000000000000000000001, 100000000000000000000001, 11223344
OFFSET
1,2
COMMENTS
a(n) <= 10^n + 1.
Any number C(i+j,j) is the number of palindromes from 2i 1's and 2j 2's, so in particular a(10) <= 1111112222 and a(15) <= 111111112222. If a number in this sequence has an odd number of digits, the odd digit must be 0 or 1, with all other digits in pairs; if the number of digits is even, all must be in pairs. The counts of the nonzero digits must be monotonically decreasing (i.e., at least as many 1's as 2's, etc.) - Franklin T. Adams-Watters, Oct 26 2006
LINKS
EXAMPLE
101 gives two palindromes: 101 and 011 = 11 hence a(2) = 101.
a(6) = 112233, the digit permutation gives six palindromes: 123321, 132231, 213312, 231132, 312213, 321123.
CROSSREFS
Sequence in context: A242138 A171764 A164842 * A069597 A139535 A139536
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Apr 13 2003
EXTENSIONS
Terms to a(9), and a(12), a(18), a(24), a(30) from Franklin T. Adams-Watters, Oct 26 2006
Terms from a(10) onward from Max Alekseyev, Feb 17 2023
STATUS
approved