PROJECT EULER · #0954
Heptaphobia
A positive integer is called heptaphobic if it is not divisible by seven and no number divisible by seven can be produced by swapping two of its digits. Note that leading zeros are not allowed before or after the swap.
For example,
Let
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.