1029 = 229 ´ 529

 

1029 has 30 ´ 30 = 900 factors

 

To be an integer multiple of 1023, look at 1029 as 1023 ´ 106

 

So, all factors of 106 when multiplied by 1023 are also integer multiples of 1023.

106 = 26 ´ 56 has 7 ´ 7 = 49 factors.

So, out of 900 factors of 1029, 49 factors are integer multiples of 1023

 

Probability =  =  =

 

a = 7; b = 30

difference = 23                                                                                                                                                                    Choice (D)