a(n) is the minimal c >= n such that the sum of consecutive integers from n to c is a Niven number.

A110029

a(n) is the minimal c >= n such that the sum of consecutive integers from n to c is a Niven number.

Terms

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

External references