Not A Perfect Number

6 = 1 + 2 + 3 28 = 1 + 2 + 4 + 7 + 14 6 = 2 1 ( 2 2 1 ) 28 = 2 2 ( 2 3 1 ) \begin{array}{ll} 6 = 1 + 2 + 3 & 28 = 1 + 2 + 4 + 7 + 14 \\ 6 = 2^1\cdot (2^2 - 1) & 28 = 2^2\cdot (2^3 - 1) \end{array}

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 ) 2^n\cdot (2^{n+1} - 1) .

Not all numbers of the form 2 n ( 2 n + 1 1 ) 2^n\cdot (2^{n+1}-1) are perfect numbers. Let's call those numbers imperfect . For instance, 120 is an imperfect number because 120 = 2 3 ( 2 4 1 ) 120 = 2^3\cdot (2^4-1) yet 120 1 + 2 + 3 + 4 + 5 + 6 + 8 + 10 + 12 + 15 + 20 + 24 + 30 + 40 + 60. 120 \not= 1+2+3+4+5+6+8+10+12 \\ +15+20+24+30+40+60.

What is the smallest imperfect number greater than 120?


The answer is 2016.

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.

3 solutions

A = 2 n ( 2 n + 1 1 ) A = 2^n\cdot (2^{n+1}-1) is a perfect number if and only if 2 n + 1 1 2^{n+1}-1 is prime. Thus,

n 2 n + 1 1 2 n ( 2 n + 1 1 ) 1 3 is prime 6 is perfect 2 7 is prime 28 is perfect 3 15 isn’t prime 120 is imperfect 4 31 is prime 496 is perfect 5 63 isn’t prime 2016 is imperfect \begin{array}{c|rl|rl} n & 2^{n+1}-1 & & 2^n\cdot (2^{n+1}-1) \\ \hline 1 & 3 & \text{is prime} & 6 & \text{is perfect} \\ 2 & 7 & \text{is prime} & 28 & \text{is perfect} \\ 3 & 15 & \text{isn't prime} & 120 & \text{is imperfect} \\ 4 & 31 & \text{is prime} & 496 & \text{is perfect} \\ 5 & 63 & \text{isn't prime} & 2016 & \text{is imperfect} \\ \vdots & & \vdots & & \vdots \end{array}

Thus the answer is 2016 \boxed{2016} . It may not be a perfect year, but it is special for sure!

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.

Soumava Pal - 5 years, 3 months ago

Log in to reply

Indeed, every integer is interesting .

Calvin Lin Staff - 5 years, 3 months ago

Log in to reply

@Calvin Lin

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

Soumava Pal - 5 years, 3 months ago

It would be so harsh to find such a imperfect number without using Eulers equation if the value of n is large

Sarith Imaduwage - 5 years, 3 months ago

I think the statement should be that an even number is perfect iff it is of the form 2 n . ( 2 n + 1 1 ) 2^{n} .(2^{n+1}-1)

Shourya Pandey - 5 years, 1 month ago

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 ) 2^p\cdot (2^{p+1} - 1) is perfect if and only if p p is prime. Perfect numbers of different form are simply not of interest here.

Arjen Vreugdenhil - 5 years, 1 month ago
Sarith Imaduwage
Mar 8, 2016

We can use Euler's equation for p e r f e c t perfect n u m b e r s numbers .

2 p 1 ( 2 p 1 ) \boxed { 2 ^{p-1} (2^{p} -1) }

where p p and 2 p 1 2^{p}-1 both are p r i m e prime n u m b e r s numbers .

Applying p 1 p-1 = n n we get a perfect number for n n = 4 Therefore we find that for n n =5 , p 1 p-1 is not a prime number. So we can present smallest imperfect number larger than 120 as following

2 5 ( 2 6 1 ) \boxed { 2 ^{5} (2^{6}- 1) }

= 2016 \boxed {2016} .

Anweshan Bor
Mar 13, 2016

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.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...