In how many ways can 123456728905be permuted such that, neither two 2's nor two 5's are adjacent to each other ?
I'm really confused how to ensure those conditions?
0 is allowed to come as the first. Consider these are simple characters, not as a whole number.
Can someone help me ?