Sum modulo n of the sum modulo n of all the digits of n in every base from 2 to n-1.

A014843

Sum modulo n of the sum modulo n of all the digits of n in every base from 2 to n-1.

Terms

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

External references