The numbers can be categorized as
(a) 5,10,15,…,100→5λ
(b) 1,6,11,…,96→5λ+1
(c) 2,7,12,…,97→5λ+2
(d) 3,8,13,…,98→5λ+3
(e) 4,9,14,…,99→5λ+4
Now, sum of two numbers is divisible by 5 then we can have following cases
(i) both the numbers from the list (a) - number of selection ways are 20C2
(ii) one number from list (b) and other from list (e) - number of selection ways are 20C1×20C1
(iii) one number from list (c) and other from list (d) - number of selection ways are 20C1×20C1
Hence, total number of ways are 20C2+20C1×20C1+20C1×20C1 =990