Stores the sum of all the numbers in the range [ 0 , i ] count of prime factor is a prime number
sum = precalculateSum ( spf ) NEW_LINE Q = [ [ 4 , 8 ] , [ 30 , 32 ] ] NEW_LINE sum [ Q [ 0 ] [ 1 ] ] += 1 NEW_LINE