a(1) = 1, a(n) = remainder on dividing the concatenation of all previous terms by n.

A094295

a(1) = 1, a(n) = remainder on dividing the concatenation of all previous terms by n.

Terms

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

External references