It is divisible by 15. So it is divisible by both 3 and 5
Because it is divisible by 5 so unit digit is 0 or 5, As we have to chose from 0 and 7 so it is zero. Now we cannot have a zero in other position as it will increase the value of the number as it is additional digit and does not serve any other purpose.Sso other digits shall be 7 and we require 3 7s to be divisible by 3 or the number as 7770( 15 * 518) .