To solve the problem, we need to find all positive integers m such that 2001⋅S(m)=m, where S(m) denotes the sum of the digits of m.
1. **Express m in terms of k:**
Let m=2001k. Then, the equation becomes:
2001⋅S(2001k)=2001k
Dividing both sides by 2001, we get:
S(2001k)=k
2. **Estimate the upper bound for k:**
The sum of the digits of 2001k is at most 9×(number of digits in 2001k). The number of digits in 2001k is approximately ⌊log10(2001k)⌋+1.
Since 2001 has 4 digits, 2001k will have at most ⌊log10(2001)+log10(k)⌋+1 digits. For simplicity, we can approximate:
log10(2001)≈3.301andlog10(k)≤log10(50)≈1.699
Thus, the number of digits in 2001k is at most:
⌊3.301+1.699⌋+1=5
Therefore, the sum of the digits S(2001k) is at most:
9×5=45
Hence, k≤45.
3. **Check values of k:**
We need to check values of k from 1 to 45 to see if S(2001k)=k.
- For k=1:
m=2001×1=2001andS(2001)=2+0+0+1=3=1
- For k=2:
m=2001×2=4002andS(4002)=4+0+0+2=6=2
- For k=3:
m=2001×3=6003andS(6003)=6+0+0+3=9=3
- For k=4:
m=2001×4=8004andS(8004)=8+0+0+4=12=4
- For k=5:
m=2001×5=10005andS(10005)=1+0+0+0+5=6=5
- For k=6:
m=2001×6=12006andS(12006)=1+2+0+0+6=9=6
- For k=7:
m=2001×7=14007andS(14007)=1+4+0+0+7=12=7
- For k=8:
m=2001×8=16008andS(16008)=1+6+0+0+8=15=8
- For k=9:
m=2001×9=18009andS(18009)=1+8+0+0+9=18=9
- For k=10:
m=2001×10=20010andS(20010)=2+0+0+1+0=3=10
- For k=11:
m=2001×11=22011andS(22011)=2+2+0+1+1=6=11
- For k=12:
m=2001×12=24012andS(24012)=2+4+0+1+2=9=12
- For k=13:
m=2001×13=26013andS(26013)=2+6+0+1+3=12=13
- For k=14:
m=2001×14=28014andS(28014)=2+8+0+1+4=15=14
- For k=15:
m=2001×15=30015andS(30015)=3+0+0+1+5=9=15
- For k=16:
m=2001×16=32016andS(32016)=3+2+0+1+6=12=16
- For k=17:
m=2001×17=34017andS(34017)=3+4+0+1+7=15=17
- For k=18:
m=2001×18=36018andS(36018)=3+6+0+1+8=18=18
Therefore, k=18 is a solution.
4. Verify if there are any other solutions:
We have checked all values of k from 1 to 45, and only k=18 satisfies the condition S(2001k)=k.
The final answer is 36018.