Remainder when n is divided by the number of nonprimes not exceeding n.

A065864

Remainder when n is divided by the number of nonprimes not exceeding n.

Terms

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

External references