Smallest multiple of n with property that digits are even and each digit is two more (mod 10) than the previous digit; or 0 if no such multiple exists.

A062400

Smallest multiple of n with property that digits are even and each digit is two more (mod 10) than the previous digit; or 0 if no such multiple exists.

Terms

    a(0) =2a(1) =2a(2) =6a(3) =4a(4) =80a(5) =6a(6) =46802a(7) =8a(8) =468a(9) =80a(10) =68024a(11) =24a(12) =468a(13) =46802a(14) =4680a(15) =80a(16) =68a(17) =468a(18) =6802a(19) =80a(20) =80246802468a(21) =68024a(22) =46a(23) =24a(24) =0a(25) =468a(26) =680246802a(27) =80246802468a(28) =680246802468a(29) =4680

External references