Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemandStart anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

Sum of digits

Expert replies
by [email protected] » Sun Nov 24, 2013 7:46 pm
The sum of all the digits of the positive integer q is equal to the three-digit number x13. If q = 10^n – 49, what is the value of n?
(A) 24
(B) 25
(C) 26
(D) 27
(E) 28

Any idea how to approach this problem
Join the discussion
Source: — Problem Solving |

by theCodeToGMAT » Sun Nov 24, 2013 9:42 pm
q = 10^n - 49

n = 2 => 51 == Sum 6
n = 3 => 951 = sum 15
n = 4 => 9951 = Sum 24

Using AP formula
6 + (n-1)9 =
6 + 9n -9
9n - 3 = x13

So, lets try a value which results in unit digit as "6" when multiplied by 9 ..
i.e. 24

==> 9(24) - 3 ==> 216 - 3 = 213
So, answer n+1 = 25
[spoiler]{B}[/spoiler]
R A H U L
Join the discussion

by [email protected] » Sun Nov 24, 2013 10:11 pm
Thanks Nice approach dint think of it this way another way I have worked out is below

The sum of all the digits of the positive integer q is equal to the three-digit number x13. If q = 10^n - 49, what is the value of n?

in 10^n the total number of digits will be n+1 i.e. n zeros and 1 for example if 10^2 then its equal to two zeros and 1

Now the given equation is 10^n-49= will give us n-2 9s and 51 as the last two digits for example if its 10000 then we will get 9951;

so the equation (sum) will be 9(n-2)+5+1=X13, 9n-12=x13,

9n=x25, the sum of the digits should be divisible by 9 therefore x=2 and n=25
Join the discussion

by fifafreak » Mon Nov 25, 2013 6:08 am
[email protected] wrote:The sum of all the digits of the positive integer q is equal to the three-digit number x13. If q = 10^n – 49, what is the value of n?
(A) 24
(B) 25
(C) 26
(D) 27
(E) 28

Any idea how to approach this problem
n=2 : 51
n-3 : 951
n=4 : 9951 .. no. of 9's for each n is given by n-2.

So, sum of the digits = 9*(n-2)+5+1 = 9*(n-2) + 6 [since, last digit of the sum is 3(i.e,x13), 9*(n-2) should have 7 as the last digit => n-2 should have 3 as the last digit, which is possible only for [spoiler]n=25[/spoiler]
Join the discussion

by Mathsbuddy » Mon Nov 25, 2013 8:02 am
The sum of all the digits of the positive integer q is equal to the three-digit number x13. If q = 10^n - 49, what is the value of n?
(A) 24
(B) 25
(C) 26
(D) 27
(E) 28

10^n - 49 = 99999...00 + 51 where the number of 9s = P

So adding digits: 9P + 51 = 100x + 13

So 9p + 38 = 100x

so x = (9p + 38)/100

9p must end in digits 62 (as 62 + 38 =100)
The only multiple of 9 ending thusly is 162 (because 1 + 6 + 2 = 9)

Therefore x = 200/100 = 2

Hence q = 213
and p = 162/9 = 18

Hence (18 digits of 9)*100 + 51 = 10^n - 49

So (18 digits of 9)*100 + 100 = 10^n
99999999999999999900+100=100000000000000000000=10^20
so n = 20

Who can find the error?
Join the discussion

by akash.delsaria » Tue Nov 26, 2013 4:20 am
Hi Mathsbuddy

In your response,
"10^n - 49 = 99999...00 + 51 where the number of 9s"
is a mathematical equation and is correct.

But because the mathematical equation is correct, you can not equate the sum of digits in the equation in the form
" So adding digits: 9P + 51 = 100x + 13 "

What you are basically doing is this :

1000 - 49 = 900 + 51 ( Which is correct )

But

1 - 13 = 9 + 6 ( The sum of the digits )

These will not match up.

Also, you have made mistakes in taking the sum of digits ( 51 should be 5+1 = 6, and not be taken as 51) and 10^n - 49 does not equate 100x + 13 (change of signs)

So this is where I believe you went wrong. I hope the explanation given by the others is clear and you have understood the solution.

Regards
YNWA
Join the discussion

by Mathsbuddy » Tue Nov 26, 2013 5:35 am
akash.delsaria wrote:Hi Mathsbuddy

In your response,
"10^n - 49 = 99999...00 + 51 where the number of 9s"
is a mathematical equation and is correct.

But because the mathematical equation is correct, you can not equate the sum of digits in the equation in the form
" So adding digits: 9P + 51 = 100x + 13 "

What you are basically doing is this :

1000 - 49 = 900 + 51 ( Which is correct )

But

1 - 13 = 9 + 6 ( The sum of the digits )

These will not match up.

Also, you have made mistakes in taking the sum of digits ( 51 should be 5+1 = 6, and not be taken as 51) and 10^n - 49 does not equate 100x + 13 (change of signs)

So this is where I believe you went wrong. I hope the explanation given by the others is clear and you have understood the solution.

Regards
Thank you Akash,
You did well to decypher my cryptic reasoning and sort it out!
Join the discussion

by Mathsbuddy » Tue Nov 26, 2013 5:36 am
akash.delsaria wrote:Hi Mathsbuddy

In your response,
"10^n - 49 = 99999...00 + 51 where the number of 9s"
is a mathematical equation and is correct.

But because the mathematical equation is correct, you can not equate the sum of digits in the equation in the form
" So adding digits: 9P + 51 = 100x + 13 "

What you are basically doing is this :

1000 - 49 = 900 + 51 ( Which is correct )

But

1 - 13 = 9 + 6 ( The sum of the digits )

These will not match up.

Also, you have made mistakes in taking the sum of digits ( 51 should be 5+1 = 6, and not be taken as 51) and 10^n - 49 does not equate 100x + 13 (change of signs)

So this is where I believe you went wrong. I hope the explanation given by the others is clear and you have understood the solution.

Regards
Thank you Akash,
You did well to decypher my cryptic reasoning and sort it out!
Join the discussion

by Matt@VeritasPrep » Sun Dec 01, 2013 9:57 pm
An easy way to do this is to test small values of n and look for a pattern, e.g.

10² - 49 = 51 = sum of digits of 6
10³ - 49 = 951 = sum of digits of 15
10� - 49 = 9951 = sum of digits of 24

At this point we can see the pattern: the sum of the digits is 9 * (n-2) + 5 + 1.

9 * (n-2) + 5 + 1 = 100x + 13

9 * (n-2) = 100x + 7

So the units digit of 9 * (n - 2) is 7, meaning that (n - 2) must end in 3, and that n must end in 5. At this point, just use the answers.
Join the discussion