a(1) = 1. If the (n-1)th partial concatenation is divisible by n then a(n) = 0. Otherwise, a(n) is the smallest positive number such that the n-th partial concatenation is divisible by n.

A083804

a(1) = 1. If the (n-1)th partial concatenation is divisible by n then a(n) = 0. Otherwise, a(n) is the smallest positive number such that the n-th partial concatenation is divisible by n.

Terms

    a(0) =1a(1) =2a(2) =0a(3) =0a(4) =0a(5) =0a(6) =3a(7) =2a(8) =1a(9) =10a(10) =0a(11) =8a(12) =16a(13) =8a(14) =15a(15) =20a(16) =9a(17) =4a(18) =24a(19) =20a(20) =13a(21) =28a(22) =25a(23) =28a(24) =25a(25) =30a(26) =32a(27) =20a(28) =9a(29) =10

External references