# Taxicab number

In mathematics, the *n*th **taxicab number**, typically denoted Ta(*n*) or Taxicab(*n*), also called the *n*th **Hardy–Ramanujan number**, is defined as the smallest integer that can be expressed as a sum of two *positive* integer cubes in *n* distinct ways. The most famous taxicab number is 1729 = Ta(2) = 1^{3} + 12^{3} = 9^{3} + 10^{3}.

The name is derived from a conversation in about 1919 involving mathematicians G. H. Hardy and Srinivasa Ramanujan. As told by Hardy:

“ | I remember once going to see him [Ramanujan] when he was lying ill at Putney. I had ridden in taxi-cab No. 1729, and remarked that the number seemed to be rather a dull one, and that I hoped it was not an unfavourable omen. "No," he replied, "it is a very interesting number; it is the smallest number expressible as the sum of two [positive] cubes in two different ways."[1][2] | ” |

## History and definition

The concept was first mentioned in 1657 by Bernard Frénicle de Bessy, who published the Hardy–Ramanujan number Ta(2) = 1729. This particular example of 1729 was made famous in the early 20th century by a story involving Srinivasa Ramanujan. In 1938, G. H. Hardy and E. M. Wright proved that such numbers exist for all positive integers *n*, and their proof is easily converted into a program to generate such numbers. However, the proof makes no claims at all about whether the thus-generated numbers are *the smallest possible* and thus it cannot be used to find the actual value of Ta(*n*).

The taxicab numbers subsequent to 1729 were found with the help of computers. John Leech obtained Ta(3) in 1957. E. Rosenstiel, J. A. Dardis and C. R. Rosenstiel found Ta(4) in 1989.[3] J. A. Dardis found Ta(5) in 1994 and it was confirmed by David W. Wilson in 1999.[4][5] Ta(6) was announced by Uwe Hollerbach on the NMBRTHRY mailing list on March 9, 2008,[6] following a 2003 paper by Calude et al. that gave a 99% probability that the number was actually Ta(6).[7] Upper bounds for Ta(7) to Ta(12) were found by Christian Boyer in 2006.[8]

The restriction of the summands to positive numbers is necessary, because allowing negative numbers allows for more (and smaller) instances of numbers that can be expressed as sums of cubes in *n* distinct ways. The concept of a cabtaxi number has been introduced to allow for alternative, less restrictive definitions of this nature. In a sense, the specification of two summands and powers of three is also restrictive; a generalized taxicab number allows for these values to be other than two and three, respectively.

## Known taxicab numbers

So far, the following 6 taxicab numbers are known:

## Upper bounds for taxicab numbers

For the following taxicab numbers upper bounds are known:

## Cubefree taxicab numbers

A more restrictive taxicab problem requires that the taxicab number be cubefree, which means that it is not divisible by any cube other than 1^{3}. When a cubefree taxicab number *T* is written as *T* = *x*^{3} + *y*^{3}, the numbers *x* and *y* must be relatively prime. Among the taxicab numbers Ta(n) listed above, only Ta(1) and Ta(2) are cubefree taxicab numbers. The smallest cubefree taxicab number with three representations was discovered by Paul Vojta (unpublished) in 1981 while he was a graduate student. It is

- 15170835645
- = 517
^{3}+ 2468^{3} - = 709
^{3}+ 2456^{3} - = 1733
^{3}+ 2152^{3}.

- = 517

The smallest cubefree taxicab number with four representations was discovered by Stuart Gascoigne and independently by Duncan Moore in 2003. It is

- 1801049058342701083
- = 92227
^{3}+ 1216500^{3} - = 136635
^{3}+ 1216102^{3} - = 341995
^{3}+ 1207602^{3} - = 600259
^{3}+ 1165884^{3}

- = 92227

## See also

- 1729 (number)
- Diophantine equation
- Euler's sum of powers conjecture
- Generalized taxicab number
- Beal's conjecture
- Jacobi–Madden equation
- Prouhet–Tarry–Escott problem
- Pythagorean quadruple
- Sums of three cubes
- Sums of powers, a list of related conjectures and theorems

## Notes

- Quotations by G. H. Hardy, MacTutor History of Mathematics Archived 2012-07-16 at the Wayback Machine
- Silverman, Joseph H. (1993). "Taxicabs and sums of two cubes".
*Amer. Math. Monthly*.**100**: 331–340. doi:10.2307/2324954. - Numbers Count column, Personal Computer World, page 234, November 1989
- Numbers Count column of Personal Computer World, page 610, Feb 1995
- "The Fifth Taxicab Number is 48988659276962496" by David W. Wilson
- NMBRTHRY Archives – March 2008 (#10) "The sixth taxicab number is 24153319581254312065344" by Uwe Hollerbach
- C. S. Calude, E. Calude and M. J. Dinneen: What is the value of Taxicab(6)?, Journal of Universal Computer Science, Vol. 9 (2003), pp. 1196–1203
- "'New Upper Bounds for Taxicab and Cabtaxi Numbers" Christian Boyer, France, 2006–2008

## References

- G. H. Hardy and E. M. Wright,
*An Introduction to the Theory of Numbers*, 3rd ed., Oxford University Press, London & NY, 1954, Thm. 412. - J. Leech,
*Some Solutions of Diophantine Equations*,*Proc. Camb. Phil. Soc.*53, 778–780, 1957. - E. Rosenstiel, J. A. Dardis and C. R. Rosenstiel,
*The four least solutions in distinct positive integers of the Diophantine equations = x*,^{3}+ y^{3}= z^{3}+ w^{3}= u^{3}+ v^{3}= m^{3}+ n^{3}*Bull. Inst. Math. Appl.*, 27(1991) 155–157; MR1125858, online. - David W. Wilson,
*The Fifth Taxicab Number is 48988659276962496*,*Journal of Integer Sequences*, Vol. 2 (1999), online. (Wilson was unaware of J. A. Dardis' prior discovery of Ta(5) in 1994 when he wrote this.) - D. J. Bernstein,
*Enumerating solutions to p(a) + q(b) = r(c) + s(d)*,*Mathematics of Computation*70, 233 (2000), 389–394. - C. S. Calude, E. Calude and M. J. Dinneen:
*What is the value of Taxicab(6)?*,*Journal of Universal Computer Science*, Vol. 9 (2003), p. 1196–1203

## External links

- A 2002 post to the Number Theory mailing list by Randall L. Rathbun
- Grime, James; Bowley, Roger. Haran, Brady (ed.).
*1729: Taxi Cab Number or Hardy-Ramanujan Number*. Numberphile. - Taxicab and other maths at Euler
- Singh, Simon. Haran, Brady (ed.). "Taxicab Numbers in Futurama". Numberphile.