

Let the number of notes of 500 and 1000 rupees are x and y respectively.
Given, the sum of number of of 500 and 1000 rupee notes is 175
=> x + y = 175 .......1
Again total value of 500 and 1000 rupee notes is 100000
=> 500x + 1000y = 100000
=> 500(x + 2y) = 100000
=> x + 2y = 100000/500
=> x + 2y = 1000/5
=> x + 2y = 200 ..........2
Subtract equation 1 and 2, we get
x + 2y - x - y = 200 - 175
=> y = 25
From equation 1, we get
x + 25 = 175
=> x = 175 - 25
=> x = 150
So, the number of notes of 500 is 150
and the number of notes of 1000 is 25
