a(n) = minimal positive k such that the concatenation of the decimal digits of n,n+1,...,n+k is divisible by n+k+1, or -1 if no such k exists.

A332580

a(n) = minimal positive k such that the concatenation of the decimal digits of n,n+1,...,n+k is divisible by n+k+1, or -1 if no such k exists.

Terms

    a(0) =1a(1) =80a(2) =1885a(3) =6838a(4) =1a(5) =44a(6) =13a(7) =2a(8) =1311a(9) =18a(10) =197a(11) =20a(12) =53a(13) =134a(14) =993a(15) =44a(16) =175a(17) =124518a(18) =263a(19) =26a(20) =107a(21) =10a(22) =5a(23) =62a(24) =15a(25) =33172a(26) =9a(27) =14a(28) =317a(29) =708

External references