Average digit sum – 6

Let s ( n ) s(n) be the digit sum of n n .

d a ( n ) d_a(n) is defined to be the average digit sum of all non-negative integers less than or equal to n n that are divisible by a a .

d a ( n ) = 1 n a + 1 k = 0 n a s ( a k ) d_a(n)= \displaystyle \frac 1{\left\lfloor \frac na \right\rfloor +1} \sum_{k=0}^{\left\lfloor \frac na \right\rfloor} s(ak)

Find the maximum number of integers a a in a set A = { a 1 , a 2 , a 3 , , a m } A = \{a_1,a_2,a_3,\ldots,a_m\} such that d a i ( 1 0 6 1 ) = d a j ( 1 0 6 1 ) d_{a_i}\left(10^6-1\right) = d_{a_j}\left(10^6-1\right) for any 1 i , j m 1 \leq i,j \leq m and a 1 = 1 a_1=1 .

Other parts


The answer is 32.

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.

0 solutions

No explanations have been posted yet. Check back later!

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...