tough math problem asking for help

来源: 2015-11-18 10:18:27 [旧帖] [给我悄悄话] 本文已被阅读:

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.