English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

For each positive integer n, let S(n) denote the sum of the digits of n. For how many values of n is n+S(N)+S(S(n)) = 2007?

2007-09-29 10:22:23 · 1 answers · asked by journey 1 in Science & Mathematics Mathematics

1 answers

Three


n + S(n) + S(S(n)) = sum
0 + 0 + 0 = 0
1+ 1 + 1 = 3
2 + 2 + 2 = 6
...
10 + 1 + 1 = 12
19 + 10 + 1 = 30
-------
above was to show how the sum works


-----
2001 + 3 + 3 = 2007
2002 + 4 + 4 = 2010
...
2007 + 9 + 9 = 2025

n cannot be bigger than 2001

----

1969 + 25 + 7 = 2001
1963 + 19 + 10 = 1992
n must be bigger than 1970
(At least we know that the number of n's is finite and much less than 30)

---

1979 + 26 + 8 = 2013
1978 + 25 + 7 = 2010
1977 + 24 + 6 = 2007

1986 + 24 + 6 = 2016
1985 + 23 + 5 = 2013
1984 + 22 + 4 = 2010
1983 + 21 + 3 = 2007

1990 + 19 + 10 = 2019
1991 + 20 + 2 = 2013

----

2007-09-29 10:55:10 · answer #1 · answered by Raymond 7 · 0 0

fedest.com, questions and answers