Concatenation with All the Digits

Find the only positive integer n n in which the concatenation of the decimal notations of n 3 n^3 and n 4 n^4 contain each of the digits 0 0 through 9 9 exactly once.

Note: 0 0 is not a leading digit for either n 3 n^3 or n 4 n^4 .


The answer is 18.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Jordan Cahn
Jan 23, 2019

Note that n 3 n^3 and n 4 n^4 must total ten digits between them. 1 7 3 17^3 has four digits and 1 7 4 17^4 has five digits, so n > 17 n>17 . Similarly, 2 2 3 22^3 has five digits and 2 2 4 22^4 has six digits, so n < 22 n<22 . Furthermore, n n cannot end in a 0 0 or 1 1 , since this would lead to n 3 n^3 and n 4 n^4 both ending in 0 0 and 1 1 , respectively. This leaves 18 18 and 19 19 as possibilities: n n 3 n 4 18 5832 104976 19 6859 130321 \begin{array}{c|c|c} n & n^3 & n^4 \\ \hline 18 & 5832 & 104976 \\ 19 & 6859 & 130321 \end{array} Thus n = 18 n=\boxed{18} .

Nice solution!

David Vreken - 2 years, 4 months ago

Very nice! In the second sentence, I believe you mean 1 7 4 17^4 instead.

Joshua Lowrance - 2 years, 4 months ago

Log in to reply

I do, yes. Thanks!

Jordan Cahn - 2 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...