Difference between the sum of first n prime numbers and the sum of first n composite numbers.

A072476

Difference between the sum of first n prime numbers and the sum of first n composite numbers.

Terms

    a(0) =-2a(1) =-5a(2) =-8a(3) =-10a(4) =-9a(5) =-8a(6) =-5a(7) =-1a(8) =6a(9) =17a(10) =28a(11) =44a(12) =63a(13) =82a(14) =104a(15) =131a(16) =163a(17) =196a(18) =233a(19) =272a(20) =312a(21) =357a(22) =405a(23) =458a(24) =517a(25) =579a(26) =642a(27) =707a(28) =772a(29) =840

External references