Smallest k such that the concatenation of the n numbers k, k-1, k-2, k-3,... k-n+1 (the concatenation of n successive numbers in descending order) is divisible by n, or 0 if no such number exists.

A087343

Smallest k such that the concatenation of the n numbers k, k-1, k-2, k-3,... k-n+1 (the concatenation of n successive numbers in descending order) is divisible by n, or 0 if no such number exists.

Terms

    a(0) =1a(1) =3a(2) =3a(3) =5a(4) =9a(5) =7a(6) =22a(7) =9a(8) =9a(9) =19a(10) =20a(11) =13a(12) =19a(13) =29a(14) =19a(15) =27a(16) =28a(17) =19a(18) =19a(19) =39a(20) =23a(21) =31a(22) =33a(23) =25a(24) =49a(25) =57a(26) =27a(27) =43a(28) =46a(29) =39

External references