An alternating sum of the first n nonprimes.
A162888
An alternating sum of the first n nonprimes.
Terms
- a(0) =1a(1) =3a(2) =3a(3) =4a(4) =5a(5) =15a(6) =6a(7) =7a(8) =8a(9) =24a(10) =9a(11) =10a(12) =11a(13) =33a(14) =12a(15) =13a(16) =39a(17) =14a(18) =42a(19) =15a(20) =16a(21) =17a(22) =51a(23) =18a(24) =54a(25) =19a(26) =20a(27) =60a(28) =21a(29) =22
External references
- oeis: A162888