1729
This number is a composite.
The Hardy-Ramanujan number is the smallest product of three distinct primes of the form 6n + 1. [Pol]
The largest number which is divisible by its prime sum of digits (19) and reversal (91)
happens to be Ramanujan's famous taxi-cab number
(1729 = 123 + 13 = 103 + 93).
It is the smallest number expressible as the sum of two positive cubes in two different ways. [Raghava]
The smallest number that is a pseudoprime simultaneously to bases 2, 3 and 5. [Pomerance ,
Selfridge and
Wagstaff]
If you reverse the middle digits of this pseudoprime you get 1279 and 21279 - 1 is a Mersenne prime. [Luhn]
Schiemann's first pair of isospectral lattices L+(1,7,13,19) and L-(1,7,13,19) are of determinant 1*7*13*19 = 1729. [Poo Sung]
The Hardy-Ramanujan number is equal to the average of the only known prime squares of the form n! + 1, i.e., 25, 121, and 5041. [Gudipati]
The smallest absolute Euler pseudoprime, i.e., it is a Euler
pseudoprime to every base coprime to it. [Luen]
1729^17+1729^29-1 is a Pythagorean prime of the form
(4n+1). [Bajpai]
1729 is the difference between two squares in two different ways: 73^2 - 60^2 and 55^2 - 36^2. [Adams]
The smallest Carmichael number of the form (6*k+1)*(12*k+1)*(18*k+1), where 6*k+1, 12*k+1 and 18*k+1. [Intiyaz]
Florian Luca proved in his August 2026 paper "Yet another
curious property of 1729" that 27 (33) is the
only cube of a prime p3 such that (2n
p3 + 1) is a Carmichael number for some positive
integer n, with the Harry-Ramanujan
number 1729 = 26 × 33 + 1 as its
example. The paper was published posthumously, following
Luca's unfortunate passing in July 2026. [Gudipati]