A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the same when its digits are reversed. In other words, it has reflectional symmetry across a vertical axis. The term palindromic is derived from palindrome, which refers to a word (such as rotor or racecar) whose spelling is unchanged when its letters are reversed. The first 30 palindromic numbers (in decimal) are:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191, 202, ... .
Palindromic numbers receive most attention in the realm of recreational mathematics. A typical problem asks for numbers that possess a certain property and are palindromic. For instance:
It is obvious that in any base there are infinitely many palindromic numbers, since in any base the infinite sequence of numbers written (in that base) as 101, 1001, 10001, 100001, etc. consists solely of palindromic numbers.
Although palindromic numbers are most often considered in the decimal system, the concept of palindromicity can be applied to the natural numbers in any numeral system. Consider a number n > 0 in base b ≥ 2, where it is written in standard notation with k+1 digits ai as:
i | |
n=\sum | |
ib |
All numbers with one digit are palindromic, so in base 10 there are ten palindromic numbers with one digit:
.
There are 9 palindromic numbers with two digits:
.
All palindromic numbers with an even number of digits are divisible by 11.[1]
There are 90 palindromic numbers with three digits (Using the rule of product: 9 choices for the first digit - which determines the third digit as well - multiplied by 10 choices for the second digit):
There are likewise 90 palindromic numbers with four digits (again, 9 choices for the first digit multiplied by ten choices for the second digit. The other two digits are determined by the choice of the first two):
,so there are 199 palindromic numbers smaller than 104.
There are 1099 palindromic numbers smaller than 105 and for other exponents of 10n we have: 1999, 10999, 19999, 109999, 199999, 1099999, ... . The number of palindromic numbers which have some other property are listed below:
101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 1010 | ||
---|---|---|---|---|---|---|---|---|---|---|---|
n natural | 10 | 19 | 109 | 199 | 1099 | 1999 | 10999 | 19999 | 109999 | 199999 | |
n even | 5 | 9 | 49 | 89 | 489 | 889 | 4889 | 8889 | 48889 | 88889 | |
n odd | 5 | 10 | 60 | 110 | 610 | 1110 | 6110 | 11110 | 61110 | 111110 | |
n square | 4 | 7 | 14 | 15 | 20 | 31 | |||||
n cube | 3 | 4 | 5 | 7 | 8 | ||||||
n prime | 4 | 5 | 20 | 113 | 781 | 5953 | |||||
n squarefree | 6 | 12 | 67 | 120 | 675 | 1200 | 6821 | 12160 | + | + | |
n non-squarefree (μ(n)=0) | 4 | 7 | 42 | 79 | 424 | 799 | 4178 | 7839 | + | + | |
n square with prime root[2] | 2 | 3 | 5 | ||||||||
n with an even number of distinct prime factors (μ(n)=1) | 2 | 6 | 35 | 56 | 324 | 583 | 3383 | 6093 | + | + | |
n with an odd number of distinct prime factors (μ(n)=-1) | 4 | 6 | 32 | 64 | 351 | 617 | 3438 | 6067 | + | + | |
n even with an odd number of prime factors | 1 | 2 | 9 | 21 | 100 | 180 | 1010 | 6067 | + | + | |
n even with an odd number of distinct prime factors | 3 | 4 | 21 | 49 | 268 | 482 | 2486 | 4452 | + | + | |
n odd with an odd number of prime factors | 3 | 4 | 23 | 43 | 251 | 437 | 2428 | 4315 | + | + | |
n odd with an odd number of distinct prime factors | 4 | 5 | 28 | 56 | 317 | 566 | 3070 | 5607 | + | + | |
n even squarefree with an even number of (distinct) prime factors | 1 | 2 | 11 | 15 | 98 | 171 | 991 | 1782 | + | + | |
n odd squarefree with an even number of (distinct) prime factors | 1 | 4 | 24 | 41 | 226 | 412 | 2392 | 4221 | + | + | |
n odd with exactly 2 prime factors | 1 | 4 | 25 | 39 | 205 | 303 | 1768 | 2403 | + | + | |
n even with exactly 2 prime factors | 2 | 3 | 11 | 64 | 413 | + | + | ||||
n even with exactly 3 prime factors | 1 | 3 | 14 | 24 | 122 | 179 | 1056 | 1400 | + | + | |
n even with exactly 3 distinct prime factors | 0 | 1 | 18 | 44 | 250 | 390 | 2001 | 2814 | + | + | |
n odd with exactly 3 prime factors | 0 | 1 | 12 | 34 | 173 | 348 | 1762 | 3292 | + | + | |
n Carmichael number | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | |
n for which σ(n) is palindromic | 6 | 10 | 47 | 114 | 688 | 1417 | 5683 | + | + | + |
There are many palindromic perfect powers nk, where n is a natural number and k is 2, 3 or 4.
The first nine terms of the sequence 12, 112, 1112, 11112, ... form the palindromes 1, 121, 12321, 1234321, ...
The only known non-palindromic number whose cube is a palindrome is 2201, and it is a conjecture the fourth root of all the palindrome fourth powers are a palindrome with 100000...000001 (10n + 1).
Gustavus Simmons conjectured there are no palindromes of form nk for k > 4 (and n > 1).[3]
Palindromic numbers can be considered in numeral systems other than decimal. For example, the binary palindromic numbers are those with the binary representations:
0, 1, 11, 101, 111, 1001, 1111, 10001, 10101, 11011, 11111, 100001, ... or in decimal:
0, 1, 3, 5, 7, 9, 15, 17, 21, 27, 31, 33, ... The Fermat primes and the Mersenne primes form a subset of the binary palindromic primes.
Any number
n
b
b>n
n
n-1
n
11n-1
12214=1518=7714=5520=3334=11104
199110=7C716
n
b
n/2\leb\len-2
p
b
\sqrt{p}\leb\lep-2
A number that is non-palindromic in all bases b in the range 2 ≤ b ≤ n - 2 can be called a strictly non-palindromic number. For example, the number 6 is written as "110" in base 2, "20" in base 3, and "12" in base 4, none of which are palindromes. All strictly non-palindromic numbers larger than 6 are prime. Indeed, if
n>6
n=ab
2\lea<b
b-1
n=a2
a-1
n=9=10012
The first few strictly non-palindromic numbers are:
0, 1, 2, 3, 4, 6, 11, 19, 47, 53, 79, 103, 137, 139, 149, 163, 167, 179, 223, 263, 269, 283, 293, 311, 317, 347, 359, 367, 389, 439, 491, 563, 569, 593, 607, 659, 739, 827, 853, 877, 977, 983, 997, ...
If the digits of a natural number don't only have to be reversed in order, but also subtracted from
b-1
ai
b
ai=b-1-ak-i
Non-palindromic numbers can be paired with palindromic ones via a series of operations. First, the non-palindromic number is reversed and the result is added to the original number. If the result is not a palindromic number, this is repeated until it gives a palindromic number. Such number is called "a delayed palindrome".
It is not known whether all non-palindromic numbers can be paired with palindromic numbers in this way. While no number has been proven to be unpaired, many do not appear to be. For example, 196 does not yield a palindrome even after 700,000,000 iterations. Any number that never becomes palindromic in this way is known as a Lychrel number.
On January 24, 2017, the number 1,999,291,987,030,606,810 was published in OEIS as A281509 and announced "The Largest Known Most Delayed Palindrome". The sequence of 125 261-step most delayed palindromes preceding 1,999,291,987,030,606,810 and not reported before was published separately as A281508.
The sum of the reciprocals of the palindromic numbers is a convergent series, whose value is approximately 3.37028... .
Scheherazade numbers are a set of numbers identified by Buckminster Fuller in his book Synergetics.[6] Fuller does not give a formal definition for this term, but from the examples he gives, it can be understood to be those numbers that contain a factor of the primorial n#, where n≥13 and is the largest prime factor in the number. Fuller called these numbers Scheherazade numbers because they must have a factor of 1001. Scheherazade is the storyteller of One Thousand and One Nights, telling a new story each night to delay her execution. Since n must be at least 13, the primorial must be at least 1·2·3·5·7·11·13, and 7×11×13 = 1001. Fuller also refers to powers of 1001 as Scheherazade numbers. The smallest primorial containing Scheherazade number is 13# = 30,030.
Fuller pointed out that some of these numbers are palindromic by groups of digits. For instance 17# = 510,510 shows a symmetry of groups of three digits. Fuller called such numbers Scheherazade Sublimely Rememberable Comprehensive Dividends, or SSRCD numbers. Fuller notes that 1001 raised to a power not only produces sublimely rememberable numbers that are palindromic in three-digit groups, but also the values of the groups are the binomial coefficients. For instance,
(1001)6=1,006,015,020,015,006,001
This sequence fails at (1001)13 because there is a carry digit taken into the group to the left in some groups. Fuller suggests writing these spillovers on a separate line. If this is done, using more spillover lines as necessary, the symmetry is preserved indefinitely to any power.[7] Many other Scheherazade numbers show similar symmetries when expressed in this way.[8]
In 2018, a paper was published demonstrating that every positive integer can be written as the sum of three palindromic numbers in every number system with base 5 or greater.[9]