The set A is defined as
A = { n ∣ n = d k d k − 1 ⋯ d 1 , n = ∑ i = 1 k d i k }
In other words,
n is a k-digit number which is equal to the sum of the k-th powers of its digits.
Eg : 1 5 3 = 1 3 + 5 3 + 3 3
What is the maximum possible number of digits that any number in the set can have?
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.
All that you have shown is that 60 is an upper bound. Your question implies that we need to find the least upper bound, which is 39.
I have updated the answer to 39.
Log in to reply
That is the reason why the question was phrased as "maximum possible number of digits" and not "maximum number of digits".
The former problem is solvable. There is no simple way to solve the latter problem. Therefore, the correct answer is 60 and not 39.
Eg : The maximum possible average of test scores in a class is 100%, though the actual maximum may be less than that.
Log in to reply
I understand what you are trying to say. However, your idea of "maximum possible" really depends on the condition that you decide to focus on. Consider this question:
Let B = { n ∣ n = 2 k k ∈ N , n = 3 l + 2 l ∈ N , n ≤ 1 1 } . What is the maximum possible number of digits. If you focused on just the first and third conditions, the answer is 2. If you focused on just the second and third conditions, the answer is 2. If you chose to analyze the first and second conditions, then the answer is infinity.
What you did, was merely to look at an initial implication of the condition that you stated. You did not use the condition that all of the d i are integers, and that we must have equality. (We might only have equality if the d i are real numbers.
Furthermore, someone could easily say "Alright, lets consider the case that k=60. (After some work) We see that d k cannot be 9, 8, 7, 6,5, 4, 3, 2, 1. Hence, the maximum possible is 59". Does this mean that 59 is the answer?
As such, the fairest interpretation of your question would be "Over all elements in set A, what is the maximum possible number of digits."
Yes, finding an upper bound is not hard. And then you pull a different answer out of thin air. Are we certain that 39 is the correct answer? If yes, this has nothing to do with the bound provided.
Saying 60 is "maximum possible" only relates to "possible" in one sense - in the sense that larger numbers have been determined to be impossible by one method. It doesn't mean that any number above 39 is possible.
Basically this is not a puzzle question so much as it is a question of "Do you know how many digits the largest Narcissistic number has?" It's not like there's a simple method to answer this question.
Disappointing.
Log in to reply
Richard, the solution is incorrect as per my comment. He has established an upper bound, but has not demonstrated that it can be achieved, which is why it is not the maximum. I have added a comment to the top of the solution to reflect this.
There are a total of 88 narcissistic numbers exist in base 10, as proved by D. Winter in 1985 and verified by D. Hoey. T. A. . You can read up on the proof if you're interested.
Problem Loading...
Note Loading...
Set Loading...
Note: This solution is incomplete. It only establishes that 60 is an upper bound. However, it cannot be achieved. From a complete listing of Narcissistic Numbers , we get that the maximium possible number of digits is 39.
For a k -digit number n = d k d k − 1 ⋯ d 1 , the minimum value of n would be the smallest k -digit number i.e., 1 0 k − 1
On the other hand the maximum value of ∑ i = 1 k d i k would be
∑ i = 1 k 9 k = k 9 k
Thus, there would be no n digit number in the set A whenever
1 0 n − 1 > n 9 n
Therefore, we seek the answer as [ x ] , where x is the solution to
x 9 x = 1 0 x − 1
Taking the logarithm to base 10
lo g 1 0 ( x ) + x lo g 1 0 ( 9 ) = ( x − 1 )
This gives the value as x = 6 0 . 8 4
[ x ] = 6 0
Trivia : Regardless of the above limit, the largest number in the set A , which is the set of Narcissistic Numbers , is the 39 digit number
115,132,219,018,763,992,565,095,597,973,971,522,401