Problem 6
We call a positive integer alternating if every two consecutive digits in its decimal representation are of different parity. Find all positive integers which have an alternating multiple.
Step 4 of 5: Classify not divisible by
In plain words
Classify not divisible by
Detailed analysis
Write with . Since , either , or , or and . Choose an even large enough. In the three cases, respectively, divides , , or .