Dividing Digit sum

FInd the sum of all n n such that n 2 10 n 135 n^{2}-10n-135 is the digital sum of n n

Note- Digital sum denotes sum of digits. Like for 279 it is equal to 2+7+9. Here n n ranges over all integers.


The answer is 18.

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.

2 solutions

Isaac Jiménez
Aug 22, 2014

First, let say n n is a one-digit number. So n 2 10 n 135 = n n ( n 11 ) = 135 { n }^{ 2 }-10n-135=n\rightarrow n(n-11)=135 which is not possible.

Now, let say n n is a two digit number. So, n 2 10 n 135 18 { n }^{ 2 }-10n-135\le 18 , which is n ( n 10 ) 153 n(n-10)\le 153 so 10 n 18 10\le n\le 18 . n n only works with 18 18 .

If n n is a three digit number, then n 2 10 n 135 27 n ( n 10 ) 162 { n }^{ 2 }-10n-135\le 27\rightarrow n(n-10)\le 162 , so n n can`t be a three digit number, neither greater.

So, n = 18 n=\boxed { 18 } .

I think my solution is very short, so I will explain some steps here, for those who don´t understand the solution:

In the second praragraph n 2 10 n 135 18 { n }^{ 2 }-10n-135\le 18 because in this case I consider n n as a two digit number, and the TWO digit number with the maximum sum is 99 99 with its sum equals 18 18 .

In the third paragraph, n n is a three digit number, so as 999 999 is the number with the greatest sum 27 27 then n 2 10 n 135 27 { n }^{ 2 }-10n-135\le 27 .

Continue posting great problems @Krishna Ar

Isaac Jiménez - 6 years, 9 months ago

Log in to reply

You too post equally great solutions to my problems @Isaac Jiménez . Really awesome! In fact, I too had the same solution! :D

Krishna Ar - 6 years, 9 months ago
Brian Moehring
Aug 4, 2018

The digital sum of a non-negative number n n is at least 0 0 and at most n n . Then solving 0 n 2 10 n 135 n n = 18 0\leq n^2-10n-135\leq n \iff n=18

Then checking ( 18 ) 2 10 ( 18 ) 135 = 9 = 1 + 8 (18)^2-10(18)-135 = 9 = 1+8 shows the only solution is 18 . \boxed{18}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...