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
In mathematics, reflection symmetry, line symmetry, mirror symmetry, or mirror-image symmetry is symmetry with respect to a reflection. That is, a figure which does not change upon undergoing a reflection has reflectional symmetry.
In 2D ther ...
across a vertical axis. The term ''palindromic'' is derived from
palindrome
A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards, such as the words ''madam'' or ''racecar'', the date and time ''11/11/11 11:11,'' and the sentence: "A man, a plan, a canal – Panam ...
, 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
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
) 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
Recreational mathematics is mathematics carried out for recreation (entertainment) rather than as a strictly research and application-based professional activity or as a part of a student's formal education. Although it is not necessarily limited ...
. A typical problem asks for numbers that possess a certain property ''and'' are palindromic. For instance:
* The
palindromic prime
In mathematics, a palindromic prime (sometimes called a palprime) is a prime number that is also a palindromic number. Palindromicity depends on the base of the number system and its notational conventions, while primality is independent of such ...
s are 2, 3, 5, 7, 11, 101, 131, 151, ... .
* The palindromic
square number
In mathematics, a square number or perfect square is an integer that is the square (algebra), square of an integer; in other words, it is the multiplication, product of some integer with itself. For example, 9 is a square number, since it equals ...
s are 0, 1, 4, 9, 121, 484, 676, 10201, 12321, ... .
It is obvious that in any
base there are
infinitely many palindromic numbers, since in any base the infinite
sequence
In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is calle ...
of numbers written (in that base) as 101, 1001, 10001, 100001, etc. consists solely of palindromic numbers.
Formal definition
Although palindromic numbers are most often considered in the
decimal
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
system, the concept of palindromicity can be applied to the
natural numbers
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''cardinal n ...
in any
numeral system
A numeral system (or system of numeration) is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using Numerical digit, digits or other symbols in a consistent manner.
The same s ...
. Consider a number ''n'' > 0 in
base ''b'' ≥ 2, where it is written in standard notation with ''k''+1
digits ''a''
''i'' as:
:
with, as usual, 0 ≤ ''a''
''i'' < ''b'' for all ''i'' and ''a''
''k'' ≠ 0. Then ''n'' is palindromic if and only if ''a''
''i'' = ''a''
''k''−''i'' for all ''i''.
Zero
0 (zero) is a number representing an empty quantity. In place-value notation
Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or ...
is written 0 in any base and is also palindromic by definition.
Decimal palindromic numbers
All numbers in
base 10
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
(and indeed in any base) with one
digit are palindromic, so there are ten decimal palindromic numbers with one digit:
:.
There are 9 palindromic numbers with two digits:
:.
There are 90 palindromic numbers with three digits (Using the
Rule of product
In combinatorics, the rule of product or multiplication principle is a basic counting principle (a.k.a. the fundamental principle of counting). Stated simply, it is the intuitive idea that if there are a ways of doing something and b ways of doin ...
: 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 below 10
4.
Below 10
5 there are 1099 palindromic numbers and for other exponents of 10
n we have: 1999, 10999, 19999, 109999, 199999, 1099999, ... . The number of palindromic numbers which have some other property are listed below:
Perfect powers
There are many palindromic
perfect power
In mathematics, a perfect power is a natural number that is a product of equal natural factors, or, in other words, an integer that can be expressed as a square or a higher integer power of another integer greater than one. More formally, ''n'' ...
s ''n''
''k'', where ''n'' is a natural number and ''k'' is 2, 3 or 4.
* Palindromic
squares
In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90- degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length a ...
: 0, 1, 4, 9, 121, 484, 676, 10201, 12321, 14641, 40804, 44944, ...
* Palindromic
cubes
In geometry, a cube is a three-dimensional space, three-dimensional solid object bounded by six square (geometry), square faces, Facet (geometry), facets or sides, with three meeting at each vertex (geometry), vertex. Viewed from a corner it i ...
: 0, 1, 8, 343, 1331, 1030301, 1367631, 1003003001, ...
* Palindromic
fourth power
In arithmetic and algebra, the fourth power of a number ''n'' is the result of multiplying four instances of ''n'' together. So:
:''n''4 = ''n'' × ''n'' × ''n'' × ''n''
Fourth powers are also formed by multiplying a number by its cube. Further ...
s: 0, 1, 14641, 104060401, 1004006004001, ...
The first nine terms of the sequence 1
2, 11
2, 111
2, 1111
2, ... 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 (10
n + 1).
G. J. Simmons conjectured there are no palindromes of form ''n''
''k'' for ''k'' > 4 (and ''n'' > 1).
Other bases
Palindromic numbers can be considered in
numeral system
A numeral system (or system of numeration) is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using Numerical digit, digits or other symbols in a consistent manner.
The same s ...
s other than
decimal
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
. For example, the
binary
Binary may refer to:
Science and technology Mathematics
* Binary number, a representation of numbers using only two digits (0 and 1)
* Binary function, a function that takes two arguments
* Binary operation, a mathematical operation that t ...
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 prime
In mathematics, a Fermat number, named after Pierre de Fermat, who first studied them, is a positive integer of the form
:F_ = 2^ + 1,
where ''n'' is a non-negative integer. The first few Fermat numbers are:
: 3, 5, 17, 257, 65537, 4294967 ...
s and the
Mersenne prime
In mathematics, a Mersenne prime is a prime number that is one less than a power of two. That is, it is a prime number of the form for some integer . They are named after Marin Mersenne, a French Minim friar, who studied them in the early 17t ...
s form a subset of the binary palindromic primes.
Any number
is palindromic in all bases
with
(trivially so, because
is then a single-digit number), and also in base
(because
is then
). Even excluding cases where the number is smaller than the base, most numbers are palindromic in more than one base. For example,
,
. A number
is never palindromic in base
if
.
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
is composite, then either
for some
, in which case ''n'' is the palindrome "aa" in base
, or else it is a perfect square
, in which case ''n'' is the palindrome "121" in base
(except for the special case of
).
Antipalindromic numbers
If the digits of a natural number don't only have to be reversed in order, but also subtracted from
to yield the original sequence again, then the number is said to be ''antipalindromic''. Formally, in the usual decomposition of a natural number into its digits
in base
, a number is antipalindromic iff
.
Lychrel process
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
A Lychrel number is a natural number that cannot form a palindrome through the iterative process of repeatedly reversing its digits and adding the resulting numbers. This process is sometimes called the ''196-algorithm'', after the most famous numb ...
.
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.
Sum of the reciprocals
The sum of the reciprocals of the palindromic numbers is a convergent series, whose value is approximately 3.37028... .
Scheherazade numbers
Scheherazade numbers are a set of numbers identified by
Buckminster Fuller
Richard Buckminster Fuller (; July 12, 1895 – July 1, 1983) was an American architect, systems theorist, writer, designer, inventor, philosopher, and futurist. He styled his name as R. Buckminster Fuller in his writings, publishing more t ...
in his book ''Synergetics''. 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
In mathematics, and more particularly in number theory, primorial, denoted by "#", is a function from natural numbers to natural numbers similar to the factorial function, but rather than successively multiplying positive integers, the function ...
''n''#, where ''n''≥13 and is the largest
prime factor
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
in the number. Fuller called these numbers ''Scheherazade numbers'' because they must have a factor of 1001.
Scheherazade
Scheherazade () is a major female character and the storyteller in the frame narrative of the Middle Eastern collection of tales known as the ''One Thousand and One Nights''.
Name
According to modern scholarship, the name ''Scheherazade'' deri ...
is the storyteller of ''
One Thousand and One Nights
''One Thousand and One Nights'' ( ar, أَلْفُ لَيْلَةٍ وَلَيْلَةٌ, italic=yes, ) is a collection of Middle Eastern folk tales compiled in Arabic during the Islamic Golden Age. It is often known in English as the ''Arabian ...
'', 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 coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
s. For instance,
:
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. Many other Scheherazade numbers show similar symmetries when expressed in this way.
Sums of palindromes
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.
arXiv preprint
See also
*
Lychrel number
A Lychrel number is a natural number that cannot form a palindrome through the iterative process of repeatedly reversing its digits and adding the resulting numbers. This process is sometimes called the ''196-algorithm'', after the most famous numb ...
*
Palindromic prime
In mathematics, a palindromic prime (sometimes called a palprime) is a prime number that is also a palindromic number. Palindromicity depends on the base of the number system and its notational conventions, while primality is independent of such ...
*
Palindrome
A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards, such as the words ''madam'' or ''racecar'', the date and time ''11/11/11 11:11,'' and the sentence: "A man, a plan, a canal – Panam ...
Notes
References
*Malcolm E. Lines: ''A Number for Your Thoughts: Facts and Speculations about Number from Euclid to the latest Computers'': CRC Press 1986, , S. 61
Limited Online-Version (Google Books)
External links
*
*
ttps://web.archive.org/web/20061104023524/http://www.p196.org/ 196 and Other Lychrel Numbersbr>
On General Palindromic Numbersat MathPages
from Ask Dr. Math
*
Yutaka Nishiyama
is a Japanese mathematician and professor at the Osaka University of Economics, where he teaches mathematics and information. He is known as the "boomerang professor". He has written nine books about the mathematics in daily life. The most recen ...
Numerical Palindromes and the 196 Problem IJPAM, Vol.80, No.3, 375–384, 2012.
{{Classes of natural numbers
Base-dependent integer sequences
Palindromes
pl:Palindrom#Palindromy liczbowe