We have to make numbers by using the digits 1,4,9,5,5,2,5.
A numbers are less than 2000000, B numbers are between 2000000 and 4000000,
C numbers are between 4000000 and 6000000,
D numbers are between 6000000 and 8000000
and E numbers are greater than 8000000, then
4A + 3B - 2C + 5D + 3E =
Numbers less than 2000000 will start from 1 only
Hence A = (1*6*5*4*3*2*1)/ (3*2*1) = 120
Numbers between 2000000 and 4000000 will start from 2 only
Hence B = (1*6*5*4*3*2*1)/ (3*2*1) = 120
Numbers between 4000000 and 6000000 will start from 4 and 5
Hence C = (4*6*5*4*3*2*1)/ (3*2*1) = 480
There is no possibility for a number to be between 6000000 and 8000000.
Hence D = 0
Numbers greater than 8000000 will start from 9 only
Hence E = (1*6*5*4*3*2*1)/ (3*2*1) = 120
Thus 4A + 3B - 2C + 5D + 3E
= 4*120 + 3*120 - 2*480 + 5*0 + 3*120
= 240