6 = 1 + 2 + 3 6 = 2 1 ⋅ ( 2 2 − 1 ) 2 8 = 1 + 2 + 4 + 7 + 1 4 2 8 = 2 2 ⋅ ( 2 3 − 1 )
6 and 28 are perfect numbers , because each of them is equal to the sum of its proper divisors, as shown above. They are also numbers of the form 2 n ⋅ ( 2 n + 1 − 1 ) .
Not all numbers of the form 2 n ⋅ ( 2 n + 1 − 1 ) are perfect numbers. Let's call those numbers imperfect . For instance, 120 is an imperfect number because 1 2 0 = 2 3 ⋅ ( 2 4 − 1 ) yet 1 2 0 = 1 + 2 + 3 + 4 + 5 + 6 + 8 + 1 0 + 1 2 + 1 5 + 2 0 + 2 4 + 3 0 + 4 0 + 6 0 .
What is the smallest imperfect number greater than 120?
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.
This is the one of the few problems that makes you believe that each number is unique. @Arjen Vreugdenhil Thank you for such a beautiful problem, easy but lovely.
Log in to reply
Indeed, every integer is interesting .
Log in to reply
Holy God! I am definitely going to read all the comments in Part 1 and Part 2.
Seems brilliant.org has really too much going on, for me to grasp.
Thanks a LOT for the link. <3
It would be so harsh to find such a imperfect number without using Eulers equation if the value of n is large
I think the statement should be that an even number is perfect iff it is of the form 2 n . ( 2 n + 1 − 1 )
Log in to reply
That is also a true statement.
But for this problem it is sufficient to know that 2 p ⋅ ( 2 p + 1 − 1 ) is perfect if and only if p is prime. Perfect numbers of different form are simply not of interest here.
We can use Euler's equation for p e r f e c t n u m b e r s .
2 p − 1 ( 2 p − 1 )
where p and 2 p − 1 both are p r i m e n u m b e r s .
Applying p − 1 = n we get a perfect number for n = 4 Therefore we find that for n =5 , p − 1 is not a prime number. So we can present smallest imperfect number larger than 120 as following
2 5 ( 2 6 − 1 )
= 2 0 1 6 .
One of the most beautiful problems I have seen on brilliant. didn't come to my mind how to solve it using theory. but it became very very easy using programming.
Problem Loading...
Note Loading...
Set Loading...
A = 2 n ⋅ ( 2 n + 1 − 1 ) is a perfect number if and only if 2 n + 1 − 1 is prime. Thus,
n 1 2 3 4 5 ⋮ 2 n + 1 − 1 3 7 1 5 3 1 6 3 is prime is prime isn’t prime is prime isn’t prime ⋮ 2 n ⋅ ( 2 n + 1 − 1 ) 6 2 8 1 2 0 4 9 6 2 0 1 6 is perfect is perfect is imperfect is perfect is imperfect ⋮
Thus the answer is 2 0 1 6 . It may not be a perfect year, but it is special for sure!