What is the Value of N in the Equation N + S(N) = 2000?

  • MHB
  • Thread starter albert391212
  • Start date
In summary: Dan's conversation, we can summarize that N is a 4-digit number, and S(N) is the sum of each digit of N. They are trying to find N when N + S(N) = 2000. After some calculations, they found that N = 1981. In summary, N = 1981 when N + S(N) = 2000.
  • #1
albert391212
11
0
N+S(N) =2000
N is a 4-digit number,and S(N) is the sum of each digit of N
given N+S(N)=2000
please find N
 
Mathematics news on Phys.org
  • #2
Albert391212 said:
N+S(N) =2000
N is a 4-digit number,and S(N) is the sum of each digit of N
given N+S(N)=2000
please find N
Let \(\displaystyle N = ABCD \equiv A \times 10^3 + b \times 10^2 + C \times 10 + D\) So \(\displaystyle N + S(N) = 1000A + 100B + 10C + (A + B + C + 2D) = 2000\).

Note that A = 1. So
\(\displaystyle N + S(N) = 100B + 10C + (B + C + 2D) = 999\)

Now start working through some cases. For example, B + C + 2D < 10 is impossible because it means B = C = 9, which is a contradiction. So \(\displaystyle B + C + 2D \geq 10\). Thus when adding we have to carry a 1 into the 10's place, which means that C is at most 8. etc. It will take a while.

-Dan
 
  • #3
Let N=abcd , and S(N)=a+b+c+d<28 ,we have a=1, b=9
N+S(N)=1000+900+10c+d+1+9+c+d=1910+11c+2d=2000
11c+2d=90
we get c=8 , d=1
so N=1981 #
 
  • #4
topsquark said:
Let \(\displaystyle N = ABCD \equiv A \times 10^3 + b \times 10^2 + C \times 10 + D\) So \(\displaystyle N + S(N) = 1000A + 100B + 10C + (A + B + C + 2D) = 2000\).

Note that A = 1. So
\(\displaystyle N + S(N) = 100B + 10C + (B + C + 2D) = 999\)

Now start working through some cases. For example, B + C + 2D < 10 is impossible because it means B = C = 9, which is a contradiction. So \(\displaystyle B + C + 2D \geq 10\). Thus when adding we have to carry a 1 into the 10's place, which means that C is at most 8. etc. It will take a while.

-Dan
Thanks for your answer
topsquark

From Albert
 

1. What is the equation "N+S(N)=2000" trying to solve for?

The equation is trying to solve for the value of N, where N is a number and S(N) is the sum of the digits of N.

2. How do you find the solution for N in the equation "N+S(N)=2000"?

To find the solution for N, you can use algebraic manipulation to isolate N on one side of the equation. Then, you can use trial and error or a calculator to find the specific value of N that satisfies the equation.

3. Is there only one possible solution for N in the equation "N+S(N)=2000"?

No, there can be multiple solutions for N in this equation. However, there is only one positive integer solution for N.

4. Can you provide an example of a solution for N in the equation "N+S(N)=2000"?

One possible solution for N is 1999. This is because when you plug in 1999 for N, the sum of its digits (1+9+9+9) equals 28, and when you add 1999 and 28, you get 2000.

5. How is the equation "N+S(N)=2000" relevant in science?

The equation can be used in various fields of science, such as mathematics, physics, and computer science. It can help with solving problems related to number theory, optimization, and algorithms. It can also be used to understand patterns and relationships in data sets.

Similar threads

Replies
7
Views
933
  • General Math
Replies
3
Views
1K
  • General Math
Replies
2
Views
1K
Replies
6
Views
846
Replies
2
Views
693
  • General Math
Replies
5
Views
956
Replies
7
Views
1K
  • General Math
Replies
9
Views
1K
Replies
9
Views
1K
Replies
6
Views
1K
Back
Top