Alternating addition and subtraction of the residues of the primes less than the number.

A101336

Alternating addition and subtraction of the residues of the primes less than the number.

Terms

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

External references