a(n) = the number of times the last digit of n must be appended to n to form a number m such that n divides m, or 0 if no such m exists.

A106848

a(n) = the number of times the last digit of n must be appended to n to form a number m such that n divides m, or 0 if no such m exists.

Terms

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

External references