Difference between n and the absolute value of the difference between number of nonprimes not exceeding n and number of primes not exceeding n.
A116568
Difference between n and the absolute value of the difference between number of nonprimes not exceeding n and number of primes not exceeding n.
Terms
- a(0) =0a(1) =2a(2) =2a(3) =4a(4) =4a(5) =6a(6) =6a(7) =8a(8) =8a(9) =8a(10) =10a(11) =10a(12) =12a(13) =12a(14) =12a(15) =12a(16) =14a(17) =14a(18) =16a(19) =16a(20) =16a(21) =16a(22) =18a(23) =18a(24) =18a(25) =18a(26) =18a(27) =18a(28) =20a(29) =20
External references
- oeis: A116568