a(n) is the largest m such that there exists N such that none of S(N), S(N+1), ..., S(N+m-1) is divisible by n, where S(N) is the sum of digits of N.
A331786
a(n) is the largest m such that there exists N such that none of S(N), S(N+1), ..., S(N+m-1) is divisible by n, where S(N) is the sum of digits of N.
Terms
- a(0) =0a(1) =2a(2) =2a(3) =6a(4) =8a(5) =8a(6) =12a(7) =14a(8) =8a(9) =18a(10) =38a(11) =38a(12) =78a(13) =98a(14) =98a(15) =138a(16) =158a(17) =98a(18) =198a(19) =398a(20) =398a(21) =798a(22) =998a(23) =998a(24) =1398a(25) =1598a(26) =998a(27) =1998a(28) =3998a(29) =3998
External references
- oeis: A331786