Remainder when the n-th composite number is divided by pi(n), the number of primes not exceeding n.

A065861

Remainder when the n-th composite number is divided by pi(n), the number of primes not exceeding n.

Terms

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

External references