Skip to content
Number Buffet

Number analysis

1,729

The Hardy–Ramanujan taxicab number: the smallest number expressible as a sum of two cubes in two ways, 1³+12³ and 9³+10³.

The Hardy–Ramanujan taxicab number: the smallest number expressible as a sum of two cubes in two ways, 1³+12³ and 9³+10³.

CompositeTaxicab

The number itself

Value
1,729
Digits
4
Digit sum
19

1 + 7 + 2 + 9

Digit sum repeated until one digit remains; equals n mod 9 (with 9 for multiples of 9).

Reversed
9,271

Reverses to 9,271.

Parity and primality

Parity
Odd

Leaves remainder 1 on division by 2.

Prime
No

Composite — it factors as 7 × 13 × 19.

Prime factorisation
7 × 13 × 19

3 distinct prime factors, 3 with multiplicity.

Squarefree
Yes

No prime divides it twice.

Möbius μ(n)
-1

(−1) to the power of 3 distinct prime factors.

Nearest primes
1,723 ← → 1,733

A gap of 10 between them.

Divisors

1, 7, 13, 19, 91, 133, 247, 1,729

Aliquot sum
511

The proper divisors — everything except n itself.

Classification
Deficient

Its proper divisors fall short by 1,218.

How many integers from 1 to n share no factor with n.

Sums and additive structure

Sum of two squares
No

A prime congruent to 3 mod 4 divides it an odd number of times, which rules it out.

Sum of three squares
Yes

Legendre's three-square theorem allows it.

Sum of four squares
Yes

Lagrange's four-square theorem: every non-negative integer is, without exception.

Sum of two cubes
1³ + 12³ · 9³ + 10³

Expressible in 2 distinct ways — a taxicab number, after the Hardy–Ramanujan story about 1729.

Shapes and sequences

Figurate shapes
None

Not triangular, square, pentagonal, hexagonal, cubic, Fibonacci, Lucas, Catalan, factorial or a power of two.

Digit curiosities

Summing the squares of its digits falls into the 4 → 16 → 37 → … → 4 cycle.

Harshad number
Yes

Divisible by its digit sum 19 — 1,729 ÷ 19 = 91.

Collatz trajectory
104 steps to 1

Peaks at 9,232 along the way.

Written other ways

Binary
11011000001
Octal
3301
Base 36
1C1
Roman numerals
MDCCXXIX
In words
one thousand seven hundred and twenty-nine
Scientific notation
1.729 × 10^3

Is 1,729 a prime number?

Composite — it factors as 7 × 13 × 19.

Nearby numbers

Analyse any number up to a trillion · All generators

References

Named after: Srinivasa Ramanujan · G.H. Hardy

Further reading: Wikipedia · MathWorld · Wikidata

Notations, naming and the links above come from Wikidata, whose structured data is dedicated to the public domain under CC0-1.0. Retrieved 2026-10-07.