Sum of Some Squared Divisors

Let 1 = d 1 < d 2 < < d k = N 1 = d_1 < d_2 < \ldots < d_k =N be all the divisors of N N arranged in increasing order. Given that N = d 1 2 + d 2 2 + d 3 2 + d 4 2 N = d_1 ^2 + d_2 ^2 + d_3 ^2 + d_4 ^2 , determine N N .


The answer is 130.

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.

12 solutions

Kishan K
Nov 18, 2013

First of all we will decide the parity of N N which will be the most basic idea to find d 2 d_{2} .

For the sake of contradiction,suppose N N is odd,which implies that all of its divisors are odd. So,all d 1 , d 2 , d 3 , d 4 d_{1},d_{2},d_{3},d_{4} are odd and hence their squares are odd too. But, sum of 4 4 odd numbers is always even,which implies N N is even which disturbs our assumption. So, d 2 = 2. d_{2}=2. N = 5 + d 3 2 + d 4 2 . \Rightarrow N=5+d_{3}^{2} + d_{4}^{2}.

Again for the sake of contradiction,suppose

( i ) (i) Both d 3 d_{3} and d 4 d_{4} are odd d 3 2 , d 4 2 1 ( m o d 4 ) , d 3 2 + d 4 2 + 5 7 ( m o d 4 ) , N 3 ( m o d 4 ) , N 1 ( m o d 2 ) \Rightarrow d_{3}^{2},d_{4}^{2} \equiv 1(mod4), \Rightarrow d_{3}^{2}+d_{4}^{2}+5 \equiv 7 (mod4), \Rightarrow N \equiv 3 (mod4),\Rightarrow N \equiv 1(mod2) Contradiction!, because as d 2 = 2 d_{2}=2 , N N is even. By the same method we can that both d 3 d_{3} and d 4 d_{4} cannot be both even.

The above proof shows that one of d 3 d_{3} and d 4 d_{4} is even and the other one is odd. Suppose d 3 d_{3} is even,then d 3 = 4. d_{3}=4. So, d 4 d_{4} is an odd prime. N = 21 + d 4 2 2 ( m o d 4 ) N=21+d_{4}^{2} \equiv 2 (mod4) ,but N N is a multiple of 4.So d 3 d_{3} is odd and d 4 d_{4} is even.

As d 3 > d 2 d_{3} > d_{2} , d 3 = p d_{3} = p ,a prime.And as d 4 d_{4} is even,it can be either a power of 2 2 or 2 p 2p .Suppose d 4 d_{4} is a power of 2. 2. Again by checking modulo 4, we get a contradiction. So d 4 = 2 p . d_{4} = 2p. N = 5 + 5 p 2 0 ( m o d 5 ) \Rightarrow N=5+5p^{2} \equiv 0 (mod5) p = 5 \Rightarrow p=5 So we get d 1 = 1 , d 2 = 2 , d 3 = 5 , d 4 = 10 d_{1}=1,d_{2}=2,d_{3}=5,d_{4}=10 So N = 130 . N=\boxed{130}.

Can you explain why if d3 is even,it can only be 4 and d4 an odd prime?

Led Tasso - 7 years, 6 months ago
Wei Liang Gan
May 20, 2014

If N N is odd, then d 1 , d 2 , d 3 , d 4 d_1,d_2,d_3,d_4 are all odd and N = d 1 2 + d 2 2 + d 3 2 + d 4 2 N = d_1^2+d_2^2+d_3^2+d_4^2 will be even which is a contradiction. Hence, N N is even and d 2 = 2 d_2=2 . Now, for N N to be even, exactly one of d 3 d_3 and d 4 d_4 must be even.

Since exactly two of d i d_i must be odd, and odd squares give a remainder of 1 when divided by 4, thus N = d 1 2 + d 2 2 + d 3 2 + d 4 2 1 + 0 + 1 + 0 2 ( m o d 4 ) N = d_1^2+d_2^2+d_3^2+d_4^2 \equiv 1+0+1+0 \equiv 2 \pmod{4} . Therefore, N N is not divisible by 4. [Note: This step is often missed, and it's very important later that 4 ∤ N 4 \not \mid N . - Calvin]

Let the second smallest even factor of N N be 2 k ( k > 1 ) 2k (k>1) . Since 4 4 is not a factor of N N , k > 2 k>2 . Since k N d 3 = k k \mid N \Rightarrow d_3 = k and d 4 = 2 k d_4 = 2k since they must be the two smallest factors larger than 2. [Note: This is the step that is most often missed by students, who argue by 2 odd, 2 even case. - Calvin] Therefore, N = 1 2 + 2 2 + k 2 + ( 2 k ) 2 = 5 + 5 k 2 = 5 ( 1 + k 2 ) 5 N N = 1^2+2^2+k^2+(2k)^2 = 5 + 5k^2 = 5(1+k^2) \Rightarrow 5 \mid N .

If d 3 = 3 d_3=3 then d 4 = 6 d_4=6 and N = 1 2 + 2 2 + 3 2 + 6 2 = 50 N = 1^2 + 2^2 + 3^2 + 6^2 = 50 which contradicts the fact that 6 6 is the 4th smallest factor since that should clearly be 5. [Note: This step was also often missed by students who said that since 5 N 5 \mid N , hence d 3 = 5 d_3 = 5 . That need not be true, especially if they didn't state that 4 ∤ N 4 \not \mid N , since we then could have d 1 = 1 , d 2 = 2 , d 3 = 3 , d 4 = 4 d_1 =1, d_2=2, d_3=3, d_4=4 as a missing case. - Calvin]

Therefore since 3 N 3 \nmid N and 4 N 4 \nmid N , d 3 d_3 must be 5 5 since we have shown that N N must be divisible by 5 5 . Hence, d 4 = 10 d_4=10 and the only solution for N N is N = 1 2 + 2 2 + 5 2 + 1 0 2 = 130 N = 1^2 + 2^2 + 5^2 + 10^2 = 130 . A quick check shows that this N N satisfies the conditions.

This problem is extremely difficult to write up, due to the numerous case considerations which students miss. I have made notes in the solutions of places where students tend to skip over, especially those that were sloppy in dealing cases. This solution presents the argument clearly, and covers the cases in a well organized manner.

Calvin Lin Staff - 7 years ago
Mark Hennings
Nov 18, 2013

If d 2 2 d_2 \neq 2 , then all factors of N N are odd, so that d 1 , d 2 , d 3 , d 4 d_1,d_2,d_3,d_4 are all odd. But that would make N = d 1 2 + d 2 2 + d 3 2 + d 4 2 N = d_1^2+d_2^2+d_3^2+d_4^2 even! Thus we deduce that d 2 = 2 d_2=2 .

  1. If d 3 = 3 d_3=3 then N = 14 + d 4 2 N = 14 + d_4^2 , and so d 4 14 d_4|14 . Since N N is even, d 4 d_4 must be even, and hence d 4 = 14 d_4=14 . But that makes N = 210 N=210 , which has 5 5 as a factor, so d 4 = 14 d_4=14 is not possible.

  2. If d 3 = 4 d_3=4 then N = 21 + d 4 2 N = 21 + d_4^2 , and so d 4 21 d_4|21 . Thus d 4 d_4 is odd, and hence N 2 N \equiv 2 modulo 4 4 , so is not divisible by 4 4 . This case is not possible either.

  3. Trying d 3 = 5 d_3=5 , we need N = 30 + d 4 2 N = 30 + d_4^2 and d 4 30 d_4|30 . Since 3 3 is not a factor of N N we deduce that d 4 = 10 d_4=10 , and hence N = 130 N = 130 . The factors of 130 130 are 1 , 2 , 5 , 10 , 13 , 26 , 65 , 130 1,2,5,10,13,26,65,130 .

Can you prove this N N is unique? I couldn't.

A Brilliant Member - 7 years, 6 months ago

Log in to reply

We have d 1 = 1 , d 2 = 2 , d 3 5 d_1=1,d_2=2,d_3\ge5 and N = 5 + d 3 2 + d 4 2 N = 5+d_3^2+d_4^2 If d 3 d_3 is not prime, it is a product of smaller nontrivial factors of N N , so must be a power of 2 2 , so must be 4 4 , which is not true. Thus d 3 = p d_3=p is prime. We note that d 4 d_4 must be even.

If p < d 4 < 2 p p < d_4 < 2p , then d 4 = 2 q d_4 =2q where q < p q < p and q > 1 q>1 divides N N . This means that q = 2 q=2 , so d 4 = 4 d_4=4 , which is not possible. Thus d 4 2 p d_4 \ge 2 p , and so d 4 = 2 p d_4 = 2p . Thus N = 5 + p 2 + 4 p 2 = 5 ( 1 + p 2 ) N = 5+p^2+4p^2=5(1+p^2) Since p p divides N N we get p 5 p|5 , so p = 5 p=5 , so N = 130 N=130 .

Mark Hennings - 7 years, 6 months ago

Yes.I can prove that N N is unique.See my solution!!

Kishan k - 7 years, 6 months ago

Log in to reply

I missed that! Well done.

Mark Hennings - 7 years, 6 months ago

we have also 210 (2 3 14); 330 (2 10 15); 378 (2 7 18); 450 (5 10 18); 450 (5 10 18); 930 (2 5 30)

Piero Casella - 7 years, 6 months ago

Log in to reply

@Piero Casella These numbers are sums of squares of four of their divisors, including 1 1 . They are not the sums of the squares of their four smallest divisors - 5 5 divides 210 210 , for example - so they do not satisfy the requirements of the question.

Mark Hennings - 7 years, 6 months ago

Log in to reply

@Mark Hennings ok! Thanks

Piero Casella - 7 years, 6 months ago

Why couldn't N N be 450 450 ? (Or did I misread the question?) 450 = 1 2 + 5 2 + 1 0 2 + 1 8 2 450 = 1^{2} + 5^{2} + 10^{2} + 18^{2} and 1 , 5 , 10 , 18 1,5,10,18 divides 450 450 I'm not sure . And I can't prove this either. I might be wrong though.

Hanissa S - 7 years, 6 months ago

Log in to reply

d 1 < d 2 < d 3 < < d k d_1<d_2<d_3<\ldots<d_k are all the divisors of N N . For N = 450 N=450 we have d 2 = 2 d_2=2 , d 3 = 3 d_3=3 , ...

Jorge Tipe - 7 years, 6 months ago

Log in to reply

Ok thanks !

Hanissa S - 7 years, 6 months ago
Michael Tong
Nov 18, 2013

Disclaimer: This solution is by no means a "here is the answer to everything you ever wanted to know about this question," rather it is a step-by-step playback of what went through in my mind. Take it as you will.

First, 2 2 must be a factor of N N . If N N was odd, then its divisors would be all odd, so we would have the sum of four odd numbers constituting N N , making N N even. Thus, the equation turns into

N = 5 + d 3 2 + d 4 2 N = 5 + {d_3}^2 + {d_4}^2

My motivation for doing this is that the problem becomes so much simpler if this is true, and it is quite an easy statement to prove. Let's try to figure out more about these numbers. Well, we can't have 4 4 as a factor of N N , because then four must be included in the sum as well, creating 21 + d 2 = N 21 + d^2 = N , with 4 N 4 | N . So d d must be odd, but ( 2 n 1 ) 2 1 ( m o d 4 ) (2n-1)^2 \equiv 1 \pmod 4 , so then N 2 ( m o d 4 ) N \equiv 2 \pmod 4 , a contradiction to our divisibility statement. So N N has only one factor of 2 2 .

Now that we've figured that out, let's experiment with the idea that d 4 = 2 d 3 d_4 = 2 * d_3 . Then our equation is 5 + 5 d 3 2 = N 5 + 5{d_3}^2 = N . Thus, N N must be divisible by 5 5 . In addition, d 3 d_3 cannot equal 3 3 because then 3 3 not divide N N , thus in this example d 3 d_3 must equal 5 5 . Smells like this is a good solution -- let's just go ahead and check. 5 + 125 = 130 = N 5 + 125 = 130 = N . N = 2 × 5 × 13 N = 2 \times 5 \times 13 , so d 1 = 1 , d 2 = 2 , d 3 = 5 , d 4 = 10 d_1 = 1, d_2 = 2, d_3 = 5, d_4 = 10 , just as we used. So aha! N = 130 N = 130 .

Well, d 4 = 2 d 3 d_4 = 2 \cdot d_3 is not really an experiment, it is forced. For otherwise both d 3 d_3 and d 4 d_4 would be odd primes, making N N odd as well.

Otherwise, well done, your solution is nearly identical to mine :)

Marek Bernat - 7 years, 6 months ago
Aaron Simon
May 20, 2014

If all four divisors are odd, then N is even because the sum of four odds is even (they remain odd when squared). But then it has 2 as a divisor, and it would be second on the list. So not all four divisors are odd. Therefore N has an even divisor, and 2 in particular. So the first two divisors are 1 and 2.
By checking d3=3,4,5, one finds the solution 1,2,5,10.

Anwar Shah
May 20, 2014

Consider 130. Its divisors are 1,2,5,10,13,65,130. Aranging in ascending order as 1=1<2<5<10<13<65<130=130. Now we have 1^2+2^2+5^2+10^2=1+4+25+100=130. This satisfy the require condition. Hence the solution.

Nathan Weckwerth
Nov 20, 2013

We will utilize ( m o d 2 ) \pmod{2} , ( m o d 4 ) \pmod{4} , and a simple contradiction argument to show that N = 130 N=\boxed{130} .

Lemma: d 2 = 2 d_2=2 .

Proof: Obviously 2 N d 2 = 2 2|N\iff d_2=2 . Now suppose N N is odd. Then all of its divisors are also odd. But the sum of four odd numbers is even, contradiction! So 2 N 2|N and d 2 = 2. d_2=2.\blacksquare

Our condition now reduces to N = 5 + d 3 2 + d 4 2 N=5+d_3^2+d_4^2 . We note that since N N is even, exactly one of d 3 , d 4 d_3, d_4 is odd. Then taking ( m o d 4 ) \pmod{4} , we see that N 1 + 1 2 ( m o d 4 ) N\equiv 1+1\equiv 2 \pmod{4} . Thus, 2 N 2|N but 4 N 4\nmid N . Then, the even divisor d x d_x is of the form 2 a 2a , where a a is odd. But then a N a|N and a < 2 a a<2a , so we see that d 3 = a d_3=a and d 4 = 2 d 3 d_4=2d_3 . Now, our condition simplifies to N = 5 ( d 3 2 + 1 ) N=5(d_3^2+1) . So 5 N 5|N , and we easily see that d 3 = 5 d 4 = 10 d_3=5\implies d_4=10 . This gives the solution { d 1 , d 2 , d 3 , d 4 , N } = { 1 , 2 , 5 , 10 , 130 } \{d_1,d_2,d_3,d_4,N\}=\{1,2,5,10,130\} , which we see works. Thus, N = 130 N=\boxed{130} .

Brian Reinhart
Nov 20, 2013

Motivation: N has prime divisors, and the smallest must be d 2 d_2 . What can we say about d 3 d_3 and d 4 d_4 ?

First, note that 2 divides N: Otherwise, N is a sum of 4 odd squares, so N is even, a contradiction. Thus d 2 = 2 d_2=2 .

Second, note that 4 does not divide N: Taking the sum mod 4 gives N = 1 + 4 + d 3 2 + d 4 2 1 + d 3 2 + d 4 2 1 + 0 , 1 , N=1+4+d_3^2+d_4^2 \equiv 1+d_3^2+d_4^2 \equiv 1+0, 1, or 2 1 , 2 , 2 \equiv 1, 2, or 3 3 , a contradiction.

Third, note that d 4 = 2 d 3 d_4=2d_3 . This is because N is even, and the first two terms sum to an odd number, so the second two must as well. If d 3 d_3 were even, then it would be 2*k for some odd k, and since k can't be one, k has to have an odd prime factor, which is smaller and must also divide N, a contradiction. Let d 3 = p d_3=p . Then 2p divides 2k divides N, so 2p divides N. Also, by the similar logic as before, any other even divisor must be larger; thus, since d 3 d_3 odd implies d 4 d_4 is even, d 4 = 2 p = 2 d 3 d_4=2p=2d_3 .

From this, we get N = 1 + 4 + p 2 + ( 2 p ) 2 = ( 1 + 4 ) ( 1 + p 2 ) = 5 ( 1 + p 2 ) N=1+4+p^2+(2p)^2=(1+4)(1+p^2)=5(1+p^2) . Since 5 divides N, 3 can't divide N, since 2*3>5; thus 5=p, and N = 1 + 4 + 25 + 100 = 130 N=1+4+25+100=130

Rik Tomalin
Nov 18, 2013

Let S be the set {d1, d2, d3, d4}

First, we know that d1=1. (it was given in the problem statement)

Next, determine if N is either odd or even. Say N is odd. Then either 1 or 3 of the elements of S must be odd. But there are 4 elements in S. Thus, it must contain at least one element that is even. And if a number has a factor which is an even number, then the number must be an even number. And so we can now say that N is even. Without further thinking, we are now certain that d2=2.

Now we know that N is even, then we can conclude that S has 1 more element which is an odd number and another which is even. For the odd number element, must certainly be a prime or else there will be some other factor of N which is an odd prime that is lower than the said element. Let this element be named p. For the even number element, it must certainly be of the form 2x, where x is a prime (since if it is not, then there must be another number of lower value which is a factor of N)

As of now, we have the following equation for N: N = (1^2) + (2^2) + (p^2) + ((2x)^2)

We have two cases for x:

case 1:

x=2
N = 1 + 4 + (p^2) + 16 = (p^2) + 21
also, we can say that N = 4*k*p, where k is some other integer which needs to be multiplies to 4*p in order to form N.

N = (p^2) + 21 = 4 k p -> (p^2) - 4 k p + 21 = 0 we try to factor this and obtain integer values for both k and p and also a prime number for p. the only seemingly possible factorization then would be N = (p-3) * (p-7) = (p^2) - 10p + 21 but would yield: 4*k = 10 -> k = 2.5 which is not valid based on what we want. thus, x must not be equal to 2

case 2:

x is a prime.

obviously, if x is a prime, then it must be p (the other element of S) and so we have: N = 1 + 4 + (p^2) + (2p)^2 = 5 + (p^2) + 4(p^2) = 5 + 5(p^2) = 5 (1 + (p^2)) N = 5 (1 + (p^2)) needless to say, we found out that 5 is a factor of N. thus, d3 = 5. and, d4 = 2p = 2*5 = 10.

finally, N = (1^2) + (2^2) + (5^2) + (10^2) = 1 + 4 + 25 + 100 = 130!

if N N is Odd , d 2 , d 3 , d 4 d_2,d_3,d_4 will be odd. that's contradition because N = d 1 + d 2 + d 3 + d 4 N=d_1+d_2+d_3+d_4 isn't odd.

so N N is Even and d 2 = 2 d_2=2 and we get new equation that is

N = 1 2 + 2 2 + d 3 2 + d 4 2 N d 3 2 = 5 + d 4 2 N=1^2+2^2+d_3^2+d_4^2 \rightarrow N-d_3^2 = 5+d_4^2

to observe LHS that divides by d 3 d_3 . so d 3 ( d 4 2 + 5 ) d_3|(d_4^2+5) and on the other hand d 4 ( d 3 2 + 5 ) d_4|(d_3^2+5)

if d 3 d_3 is Even , d 3 d_3 can be only 2 2 2^2 and d 4 = 7 , 21 d_4=7,21 . but that's contradiction. so d 3 d_3 is ood and must be prime number. that makes d 4 d_4 must be Even.

Let d 3 = p d_3=p , we will get d 4 = 2 p d_4=2p . from d 3 ( 5 + d 4 2 ) d_3|(5+d_4^2) we know that d 3 = 5 d_3=5

therefore N = 130 N=130 .

we can prove that N is of the form 2 × ( o d d n u m b e r ) 2\times(odd number) ;

IF N = 2 k × o d d n u m b e r N=2^k\times odd number ;then N = 1 + 2 2 + 4 2 + ( e v e n n u m b e r ) 2 N=1+2^2+4^2+(even number)^2 ,which is a contradiction. Let p be the smallest prime dividing that odd number;

N = 1 2 + 2 2 + p 2 + ( 2 × p ) 2 N=1^2+2^2+p^2+(2\times p)^2

N = 5 + 5 × p 2 N=5+5\times p^2

N is divisible by 5;

p=5

N=130

basil babu - 7 years, 6 months ago
Timid Talker
Feb 7, 2014

suppose N is odd then all the factors of N would be odd so d1^2+d2^2+d3^2+d4^2 is even, contradiction.

Now N is even, and divisible by 4

d1=1 and d2=2. So 1+4+d3^2+d4^2 =N=0 (mod 4)

d3^2+d4^2=3 (mod 4) which is not possible.

from above argument, one of the d3 or d4 must be even of the form of 2p where p is prime. and p doesn't equal to 2.

but p < 2p so d4=2p and d3=p.

hence 1 +4+p^2+4p^2=5(1+p^2)=N

5 devides N. now p=3 is not possible so p must be 5 because d3 is third smallest divisor.

hence N=130.

Li Zhao
Nov 23, 2013

Assume N is odd then d1, d2, d3, d4 must be odd too. The sum of them must be even. so d1=1, d2=2, d3 and d4 is <odd, even>. The sum of ODD^2+EVEN^2 = 1(mod 4), so N=2(mod 4), then d4=2 d3. N=5+5 d3^2. d3=5. N=130.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...