Answer:
20 apples
Explanation:
Let the number of apples = x
First customer:
Sold apples = (1/2) of x + 1

Remaining apples

Second customer:
Sold apples = (1/3) of remaining apples + 1
![=(1)/(3)*((x)/(2)-1)+1\\\\=[(1)/(3)*(x)/(2)]- (1)/(3)*1+1\\\\=(x)/(6)-(1)/(3)+1\\\\=(x)/(6)-(1)/(3)+(3)/(3)\\\\=(x)/(6)+(2)/(3)\\](https://img.qammunity.org/2021/formulas/mathematics/high-school/pp42caoiwpvthvp3tx843q5xxx7737m489.png)
Remaining apples =

Third customer:
Sold apples = (1/5) of reaming apples +1
![=(1)/(5)*[(x)/(3)-(5)/(3)]+1\\\\=(1)/(5)*(x)/(3)-(1)/(5)*(5)/(3)+1\\\\=(x)/(15)-(1)/(3)+1\\\\=(x)/(15)-(1)/(3)+(3)/(3)\\\\=(x)/(15)+(2)/(3)\\\\](https://img.qammunity.org/2021/formulas/mathematics/high-school/hhn1exk8afesno1kgvbtfki5toua7ypzjj.png)
Remaining apples =
![=(x)/(3)-(5)/(3)-[(x)/(15)+(2)/(3)]\\\\=(x)/(3)-(5)/(3)-(x)/(15)-(2)/(3)\\\\=(x)/(3)-(x)/(15)-(5)/(3)-(2)/(3)\\\\=(5x)/(15)-(x)/(15)-(7)/(3)\\\\=(4x)/(15)-(7)/(3)\\](https://img.qammunity.org/2021/formulas/mathematics/high-school/ofb5id945aloejrwhj8y3rl1qtayvuql35.png)
Remaining apples with the man = 3

x = 20
He had 20 apples