Minimum number of consecutive previous nonnegative integers to n that must be concatenated together in descending order such that n divides the concatenated term, or zero if n divides no such concatenation.

A088885

Minimum number of consecutive previous nonnegative integers to n that must be concatenated together in descending order such that n divides the concatenated term, or zero if n divides no such concatenation.

Terms

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

External references