Sum of integers!

What is the sum of all positive integer values of n n such that n + 18 n \frac{n+18}{n} is an integer?


The answer is 39.

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

Aditya Chauhan
Aug 23, 2015

n + 18 n \dfrac{n+18}{n}

= 1 + 18 n =1+\dfrac{18}{n}

The given expression will be an integer only when n is a factor of 18.

The factors of 18 18 are 1 , 2 , 3 , 6 , 9 , 18 1,2,3,6,9,18 .

So Sum = 1 + 2 + 3 + 6 + 9 + 18 = 39 =1+2+3+6+9+18 =\boxed{39}

Good solution! Here is a faster way to add the divisors:

Since the prime factorization of 18 is 18 = 2 3 2 18 = 2\cdot 3^2 , the sum of its divisors is ( 1 + 2 ) ( 1 + 3 + 9 ) = 3 × 13 = 39. (1 + 2)\cdot (1 + 3 + 9) = 3\times 13 = 39.

Arjen Vreugdenhil - 5 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...