Proper fractions less than 10 with a denominator of 30 can be written as
3030n+r,0⩽n⩽9,0⩽r<30,(r,30)−1.
Therefore, the values of r form the set {1,7,11,13,17,19,23,29}. Hence, the required sum is
=8×(1+2+⋯+9)+10×(301+307+3011+3013+3017+3019+3023+3029).360+40=400.