Does anyone have any clue as how to solve following math problem?
Find the number of 5-digit numbers less than 40000 in which the 3 3-digit numbers formed by consecutive digits are all divisible by either 17 or 23. Remember, zero cannot be the first digit in a 3-digit number.
Thanks a lot.