Number whose Square and Cube use all Digits Once

From ProofWiki
Jump to navigation Jump to search

Theorem

The only integer whose square and cube use each of the digits from $0$ to $9$ exactly once each is $69$.


Theorem

First the limits are established for the square and cube of an integer to have exactly $10$ digits between them.

\(\ds 46^2\) \(=\) \(\ds 2116\)
\(\ds 46^3\) \(=\) \(\ds 97 \, 336\)
\(\ds 47^2\) \(=\) \(\ds 2209\)
\(\ds 47^3\) \(=\) \(\ds 103 \, 823\)


\(\ds 99^2\) \(=\) \(\ds 9801\)
\(\ds 99^3\) \(=\) \(\ds 970 \, 299\)
\(\ds 100^2\) \(=\) \(\ds 10 \, 000\)
\(\ds 100^3\) \(=\) \(\ds 1 \, 000 \, 000\)

So integers smaller than $47$ do not have enough digits available, and integers greater than $99$ have too many.

$47$ and $99$ themselves are eliminated on inspection of the above.


It is noted that integers ending in $0$, $1$, $5$ and $6$ have squares and cubes ending in those same digits.

Such numbers can be eliminated from our search, as they will duplicate the appearance of those digits.


It remains to check the integers between $48$ and $98$.


First the squares which duplicate at least one digit are eliminated:

\(\ds 58^2\) \(=\) \(\ds 3364\) which duplicates $3$
\(\ds 62^2\) \(=\) \(\ds 3844\) which duplicates $4$
\(\ds 63^2\) \(=\) \(\ds 3969\) which duplicates $9$
\(\ds 67^2\) \(=\) \(\ds 4489\) which duplicates $4$
\(\ds 68^2\) \(=\) \(\ds 4624\) which duplicates $4$
\(\ds 77^2\) \(=\) \(\ds 5929\) which duplicates $9$
\(\ds 83^2\) \(=\) \(\ds 6889\) which duplicates $8$
\(\ds 88^2\) \(=\) \(\ds 7744\) which duplicates $4$ and $7$
\(\ds 92^2\) \(=\) \(\ds 8464\) which duplicates $4$
\(\ds 94^2\) \(=\) \(\ds 8836\) which duplicates $8$
\(\ds 97^2\) \(=\) \(\ds 9409\) which duplicates $9$


Of the remainder, the cubes which duplicate at least one digit are eliminated:

\(\ds 48^3\) \(=\) \(\ds 110 \, 592\) which duplicates $1$
\(\ds 49^3\) \(=\) \(\ds 117 \, 649\) which duplicates $1$
\(\ds 52^3\) \(=\) \(\ds 140 \, 608\) which duplicates $0$
\(\ds 53^3\) \(=\) \(\ds 148 \, 877\) which duplicates $7$ and $8$
\(\ds 54^3\) \(=\) \(\ds 157 \, 464\) which duplicates $4$
\(\ds 57^3\) \(=\) \(\ds 185 \, 193\) which duplicates $1$
\(\ds 64^3\) \(=\) \(\ds 262 \, 144\) which duplicates $2$ and $4$
\(\ds 72^3\) \(=\) \(\ds 373 \, 248\) which duplicates $3$
\(\ds 74^3\) \(=\) \(\ds 405 \, 224\) which duplicates $2$ and $4$
\(\ds 78^3\) \(=\) \(\ds 474 \, 552\) which duplicates $4$ and $5$
\(\ds 79^3\) \(=\) \(\ds 493 \, 039\) which duplicates $3$ and $9$
\(\ds 82^3\) \(=\) \(\ds 551 \, 368\) which duplicates $5$
\(\ds 87^3\) \(=\) \(\ds 658 \, 503\) which duplicates $5$
\(\ds 89^3\) \(=\) \(\ds 704 \, 969\) which duplicates $9$
\(\ds 98^3\) \(=\) \(\ds 941 \, 192\) which duplicates $1$ and $9$


Of the remainder, the squares and cubes which duplicate at least one digit between them are eliminated:

\(\ds 59^2\) \(=\) \(\ds 3481\) which duplicate $3$ between them
\(\ds 59^3\) \(=\) \(\ds 205 \, 379\)


\(\ds 73^2\) \(=\) \(\ds 5329\) which duplicate $3$ and $9$ between them
\(\ds 73^3\) \(=\) \(\ds 389 \, 017\)


\(\ds 84^2\) \(=\) \(\ds 7056\) which duplicate $0$, $5$ and $7$ between them
\(\ds 84^3\) \(=\) \(\ds 592 \, 704\)


\(\ds 93^2\) \(=\) \(\ds 8649\) which duplicate $4$ and $8$ between them
\(\ds 93^3\) \(=\) \(\ds 804 \, 357\)


Finally:

\(\ds 69^2\) \(=\) \(\ds 4761\)
\(\ds 69^3\) \(=\) \(\ds 328 \, 509\)

The result follows.

$\blacksquare$


Sources