RithwikG's picture
initial commit
7a8878c
raw
history blame contribute delete
143 Bytes
Let D(n) represent the sum of digits of n. For how many integers n where 10l≤n<10r satisfy D(kn)=k⋅D(n)? Output the answer modulo 109+7.