How many different nature number can be formed lying between 1000and 10000 out of the digits 0,1,2,5,7,9,?how many of them will neither divisible by 5 nor by 2?

Sheikh Family's image