Smallest k such that the concatenation k, k-1,k-2,k-3 is divisible by n; or 0 if no such number exists.
A075018
Smallest k such that the concatenation k, k-1,k-2,k-3 is divisible by n; or 0 if no such number exists.
Terms
- a(0) =3a(1) =3a(2) =3a(3) =5a(4) =3a(5) =3a(6) =5a(7) =5a(8) =6a(9) =3a(10) =18a(11) =9a(12) =11a(13) =5a(14) =3a(15) =15a(16) =13a(17) =15a(18) =19a(19) =23a(20) =18a(21) =29a(22) =29a(23) =15a(24) =28a(25) =11a(26) =33a(27) =5a(28) =4a(29) =3
External references
- oeis: A075018