Let a_n be the number obtained by writing the integers 1 to n from left to right. Therefore, a_4 = 1234 and a_12 = 123456789101112. For 1≤n≤100, how many a_n are divisible by 9?
Let \(a_n\) be the number obtained by writing the integers 1 to n from left to right. Therefore, \(a_4\) = 1234 and \(a_{12}\) = 123456789101112. For 1 ≤ n ≤ 100, how many \(a_n\) are divisible by 9?
Hello xXxTenTacion!
\(checksum\\ \sum^i_{i=1}(n_i)=(1+i)\cdot \frac{i}{2}\)
1 1
12 3
123 6
1234 10
12345 15
123456 21
1234567 28
36 45 55 66 78 91 105 121 ... 5050
12345...100 5050
Sorry. I have to give up.