Dudeney Number Calculator

Number Theory

Dudeney number resultYes - 5,832 is a Dudeney number
Digit sum18
Cube root18
Known positive Dudeney numbers6
How this was calculated
  1. A Dudeney number is a perfect cube whose digit sum equals its own cube root. Only six positive Dudeney numbers exist: 1, 512, 4,913, 5,832, 17,576 and 19,683 (plus 0).
  2. The digits of 5,832 add to 18.
  3. 5,832 is a perfect cube: its cube root is 18, and 18^3 = 5,832.
  4. Digit sum 18 equals cube root 18, so the definition is met.

Some sequences refuse to grow up. A Dudeney number is a perfect cube whose digits add up to its own cube root, and although cubes march off to infinity, the Dudeney numbers simply stop: 1, 512, 4,913, 5,832, 17,576 and 19,683 are the only positive ones that exist, with 0 usually listed alongside. This calculator tests candidates against the definition and lists the complete, proven set.

The definition rewards a quick feel for the tension inside it. A cube root grows like the cube root of the number; a digit sum grows like the number of digits. For small cubes the two can meet - 18 cubed is 5,832 and 5 + 8 + 3 + 2 is 18 - but the digit sum falls further behind with every order of magnitude, and past a provable point it can never catch up again.

They are named for Henry Ernest Dudeney, the English puzzle composer whose books of arithmetical recreations filled the decades around 1900. A sequence that is finished - completely, provably finished - is a fitting monument to a puzzler.

Worked examples

Test 5,832 - digit sum 18, cube root 18

(Test a number · 5832 · 20000)

Dudeney number resultYes - 5,832 is a Dudeney number
Digit sum18
Cube root18
Known positive Dudeney numbers6

Test 1,000 - a cube, but digit sum 1

(Test a number · 1000 · 20000)

Dudeney number resultNo - 1,000 is not a Dudeney number
Digit sum1
Cube root10
Known positive Dudeney numbers6

List Dudeney numbers up to 20,000

(List numbers up to a bound · 5832 · 20000)

Dudeney number result7 Dudeney numbers up to 20,000
Largest in range19,683
Count7
Known total7 including 0

The definition, checked by hand

Take 5,832. Its cube root is 18, since 18 x 18 x 18 = 5,832. Its digit sum is 5 + 8 + 3 + 2 = 18. The two numbers agree, so 5,832 is a Dudeney number. Take 4,913: cube root 17, digit sum 4 + 9 + 1 + 3 = 17 - also Dudeney. Take 512: cube root 8, digit sum 8. The pattern is a small magic trick of self-reference: the number encodes, in its digits, the very root that generates it.

Now take 1,000. It is a perfect cube, 10 cubed, but its digit sum is 1, not 10 - so it fails, and the calculator says so. Most cubes fail far more quietly, and of course most numbers are not cubes at all. The test on this page checks both halves of the definition exactly: perfect cube first, digit sum second.

Why the list is complete

Suppose n has d digits. Its digit sum is at most 9d, so a Dudeney number with d digits has cube root at most 9d, making the number itself at most (9d)^3. But a d-digit number is at least 10^(d-1). Once d is large enough that 10^(d-1) exceeds (9d)^3 - which happens by d = 7 - no Dudeney number can have that many digits, and checking the finitely many cubes below that bound yields exactly the six positive values.

That argument is why this page can use the word 'known' without hedging: the list mode does not search hopefully, it filters a proven-complete set. The same growth-mismatch idea terminates several other digit-property sequences, and it is one of the prettiest elementary finiteness proofs in recreational number theory.

The six, one by one

1 is trivially Dudeney: digit sum 1, cube root 1. 512 pairs 8 with 8. 4,913 pairs 17 with 17. 5,832 pairs 18 with 18. 17,576 pairs 26 with 26 - check the digits: 1 + 7 + 5 + 7 + 6 = 26, and 26 cubed is 17,576. 19,683 pairs 27 with 27, the largest of the family.

Notice the cube roots: 1, 8, 17, 18, 26, 27. There is no pattern to them - they are simply the roots whose cubes happen to fold back onto themselves digit-wise. The gaps between consecutive Dudeney numbers widen (511, 4,401, 919, 11,744, 2,107) with no rhythm, exactly what you expect from coincidences rather than construction.

Relatives: Armstrong, Munchausen and Friedman numbers

Digit-self-reference is a whole genre. Armstrong (narcissistic) numbers equal the sum of their digits each raised to the power of the digit count - 153 = 1 + 125 + 27. Munchausen numbers equal the sum of their digits raised to themselves. Friedman numbers can be written using their own digits in an expression, like 25 = 5^2. Each family has its own finiteness story, and most are finite for the same growth reason.

Dudeney numbers are the austere member of the genre: no exponent choices, no arrangement games, just a cube and its digit sum agreeing. That austerity is why the complete list fits in one line and why the calculator can be definitive where other digit-property tools must search.

Who was Dudeney?

Henry Ernest Dudeney (1857-1930) was a civil servant who became Britain's most inventive puzzle composer, publishing in The Strand Magazine alongside the early Sherlock Holmes stories and collecting his work in books such as Amusements in Mathematics. His puzzles - dissections, river crossings, number curiosities - were rigorous enough that mathematicians still mine them.

The numbers named for him come from that recreational tradition, where a good curiosity should be checkable by hand and surprising on first sight. A finished sequence of six positive cubes whose digits betray their roots qualifies on both counts.

Using the calculator

Test mode answers the only question that makes sense for a finished sequence - 'is my number one of them?' - and shows the digit sum and cube root so the verdict can be verified by hand. Numbers that are not perfect cubes are rejected at the first step, with the neighbouring cubes displayed so you can see how close the miss was.

List mode filters the proven set to your bound: up to 20,000 it shows all six positive values - 1, 512, 4,913, 5,832, 17,576 and 19,683. If a website lists a seventh positive Dudeney number, it is wrong, and the growth argument on this page is the receipt.

A short search, finished forever

The completeness proof turns the Dudeney hunt into a tiny computation. Since no Dudeney number can have seven or more digits, only cubes with at most six digits can qualify - the cubes of 1 through 99. Fewer than a hundred candidates, each checked by adding six digits at most: a complete enumeration that a patient schoolchild could finish by hand in an afternoon, and that a computer finishes before the screen refreshes. The calculator's list mode filters the proven set rather than searching, but the search it replaces is this small.

Finished sequences change how a tool should talk. For most number families on this site, list mode reports 'all values up to your bound' with the silent footnote that larger values await discovery. For the Dudeney numbers there is no footnote: the six positive values are all the values there are, and the page can say so in the indicative mood.

Digit sums in other bases

The Dudeney property is base-dependent - it is about decimal digits, and in another base the cubes and their digit sums reshuffle completely. Recreational literature occasionally explores 'Dudeney numbers' in base 8 or base 12, where different small families appear. The calculator works in base 10, as the name's literature does; the base-dependence is worth remembering because it marks Dudeney numbers as creatures of our numeral system rather than of the integers themselves.

Contrast the Markov numbers elsewhere on this site, which are base-independent - solutions of an equation, the same in any notation. Both kinds of object are legitimate mathematics; they simply live in different places, one in arithmetic, one in representation.

Dudeney the puzzler's other gifts

The haberdasher's dissection - cutting an equilateral triangle into four pieces that reassemble into a square - is Dudeney's most famous creation, and his Canterbury Puzzles gave the genre its template: a story, a diagram, a question with a clean answer. The numbers named for him share the aesthetic. A cube that announces its own root in its digits is a puzzle answer disguised as a definition.

That aesthetic explains the family's survival in the literature despite its size. Six numbers cannot support a research field, but they can support a perfect paragraph in a book of mathematical recreations - which is where Dudeney numbers live, and why they are still being looked up a century later.

FAQs

What is a Dudeney number?

A perfect cube whose digit sum equals its cube root - for example 5,832, whose digits sum to 18 and whose cube root is 18.

How many Dudeney numbers exist?

Six positive ones - 1, 512, 4,913, 5,832, 17,576 and 19,683 - plus 0. The list is provably complete.

Is 512 a Dudeney number?

Yes. Its digit sum is 5 + 1 + 2 = 8, and 8 cubed is 512.

Is 1,000 a Dudeney number?

No. It is a perfect cube (10 cubed) but its digit sum is 1, not 10, so the defining equality fails.

Why are there no large Dudeney numbers?

A d-digit number has digit sum at most 9d, so its cube root would be at most 9d - but d-digit cubes outgrow (9d)^3 once d reaches 7, so no Dudeney number can have 7 or more digits.

What is the largest Dudeney number?

19,683, whose digit sum and cube root are both 27.

Who was Henry Dudeney?

The English puzzle composer (1857-1930) whose arithmetical recreations the numbers are named after.

What are the cube roots of the Dudeney numbers?

1, 8, 17, 18, 26 and 27 - each equal to the digit sum of its cube.

Sources

Related calculators

Correlation Coefficient Calculator
Pearson's r for up to six paired observations, with r² and the deviation sums shown — the full workings, not just the headline number.
Lognormal Distribution Calculator
Compute the CDF, PDF, mean and median of a lognormal distribution from its log-scale mu and sigma.
Square Footage Calculator
Area of a rectangle in sq ft, m², sq yd and acres from length × width — with an optional per-square-foot cost estimate.