Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The sum of digits of a six digit number is $41$.

At first we omit its leftmost digit and subtract it from the original number. Then we omit the two leftmost digits and add it with the result. Next we omit the three leftmost digits and subtract it from the current result. This process of successive subtraction-addition continues until all the digits of the six digits numbers have been omitted. The final is $706010$. How can we find the original number?

Any hint will be very much appreciated. And it is perhaps best to add that I have not been able to find anything yet.So I am stuck now.

share|cite|improve this question
If you have six unknowns, you should be able to build six equations from the description of your problem. Have you tried this? – J. M. May 29 '13 at 9:39
Yes I have just tried that and I think I have solved it .Thanks,I will later answer my own question. – rah4927 May 29 '13 at 9:56
up vote 3 down vote accepted

Some hints (it is a rather old question...) :

  • the net effect of the first subtraction is to return the upper digit followed by five $0$ (you may try this with any actual $6$ digits number).
  • the net effect of the following addition and subtraction is to give the most significative digit (as previously), $0$ and the third most significative digit followed by three $0$.
  • so what can you deduce from the final $706010$ ?

  • the sum of digits is $41$ so what should the three $0$ really be ?

share|cite|improve this answer
We begin by making the equation 100000a+1000c+10e=706010.The rest is clear.I would write up a solution later(I promise).But I still cannot believe that you and I stumbled on this old question the same day. – rah4927 Aug 9 '13 at 17:31
And I say stumble because just this day,I remembered to write up a solution to this problem as I had promised to J.M. – rah4927 Aug 9 '13 at 17:39
@rahul: Well you updated your question so that it appeared at the top and I answered... ((+1) for your answer). – Raymond Manzoni Aug 9 '13 at 23:13

We know that we can write any six digit number in the form 100000a+10000b+1000c+100d+10e+f,where a,b,c,d,e,f are integers.Now removing the leftmost digit means that we are going to remove a,which in turn means we are going to subtract 100000a from the original number,thus getting 1000b+100c+. . . +f.Hence subtracting it from the original would just give us 100000a.By repeating the successive subtraction-addition thing,we have


and the only values that a,c and e can take are 7,6 and 1 respectively.Adding them gives us 14.Therefore,


But since f,b and d are digits,the only value that all of them can take is 9.Thus our required number is 796919.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.