A114879 Numbers n coprime to 3 such that there exists an (n-1)-digit ternary number wherein each substring is indivisible by n.
2, 4, 5, 10, 20, 37
Offset: 1
Examples
20 is there because each substring of 1121212211122121211 (base 3) is indivisible by 20.
Comments