Number n is such that: n = 2 0 0 3 k , where k is a positive integer. Denote S ( n ) be the sum of digits of n .
What is the smallest possible value of S ( n ) ?
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.
@Mark Hennings I deduced that since 2003 is a prime, then 10^2002 + 2 should be divisible by 2003 (Fermat's little theorem).......how did you find 10^301 ?? Please help.....
Log in to reply
Careful, 1 0 2 0 0 2 ≡ 1 ( m o d 2 0 0 3 ) , which means that 1 0 2 0 0 2 + 2 is not divisible by 2 0 0 3 .
By condering the Legendre symbol ( 2 0 0 3 − 2 ) = ( 2 0 0 3 − 1 ) ( 2 0 0 3 2 ) = − 1 × − 1 = 1 , we see that − 2 is a quadratic residue modulo 2 0 0 3 . We also note that ( 2 0 0 3 1 0 ) = ( 2 0 0 3 2 ) ( 2 0 0 3 5 ) = − ( 5 2 0 0 3 ) = − ( 5 3 ) = 1 and so 1 0 is a quadratic residue modulo 2 0 0 3 .
It is easy to check that 1 0 has order 1 0 0 1 in the cyclic group Z 2 0 0 3 × ≡ C 2 0 0 2 , and so 1 0 ≡ x 2 for some x ∈ Z 2 0 0 3 × , and it is clear that x has order 2 0 0 2 , and so is a generator of the group. Since − 2 is a quadratic residue modulo 2 0 0 3 it follows that − 2 ≡ y 2 for some y , and we will have y ≡ x u for some integer u . Thus − 2 ≡ x 2 u ≡ 1 0 u , and so there must exist some integer u such that 1 0 u + 2 is divisible by 2 0 0 3 . We do not need to find the actual value of u to solve the problem! I think I found u = 3 0 1 by computer search (it was a year ago).
Problem Loading...
Note Loading...
Set Loading...
If S ( n ) = 1 then n = 1 0 a for some a ≥ 0 , and no such number is divisible by the prime 2 0 0 3 .
If S ( n ) = 2 then either n = 2 × 1 0 a for some a ≥ 0 or else n = 1 0 a + 1 0 b for some a > b ≥ 0 . No number of the form 2 × 1 0 a is divisible by 2 0 0 3 . If n = 1 0 a + 1 0 b is divisible by 2 0 0 3 , where a > b , then 1 0 a − b ≡ − 1 ( m o d 2 0 0 3 ) , and hence, since 1 0 1 0 0 1 ≡ 1 ( m o d 2 0 0 3 ) , − 1 = ( − 1 ) 1 0 0 1 ≡ 1 0 1 0 0 1 ( a − b ) ≡ 1 ( m o d 2 0 0 3 ) , which is not true. Thus there is no number n which is divisible by 2 0 0 3 for which S ( n ) = 2 .
On the other hand, 1 0 3 0 1 + 2 ≡ 0 ( m o d 2 0 0 3 ) , and S ( 1 0 3 0 1 + 2 ) = 3 . Thus the answer is 3 .