Remainder when n-th prime is divided by the number of primes not exceeding n.

A065133

Remainder when n-th prime is divided by the number of primes not exceeding n.

Terms

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

External references