a(n) = Sum_{i=1..n} (-1)^{i+1} prime(i)^2, where prime(k) denotes the k-th prime: alternating sum of the squares of the first n primes.
A240860
a(n) = Sum_{i=1..n} (-1)^{i+1} prime(i)^2, where prime(k) denotes the k-th prime: alternating sum of the squares of the first n primes.
Terms
- a(0) =4a(1) =-5a(2) =20a(3) =-29a(4) =92a(5) =-77a(6) =212a(7) =-149a(8) =380a(9) =-461a(10) =500a(11) =-869a(12) =812a(13) =-1037a(14) =1172a(15) =-1637a(16) =1844a(17) =-1877a(18) =2612a(19) =-2429a(20) =2900a(21) =-3341a(22) =3548a(23) =-4373a(24) =5036a(25) =-5165a(26) =5444a(27) =-6005a(28) =5876a(29) =-6893
External references
- oeis: A240860