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

A065862

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

Terms

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

External references