Sum([pi(j+1)-pi(j)][prime(j+1)-prime(j)],j=1..n), where pi(k) is the number of prime numbers less than or equal to k and prime(k) is the k-th prime.
A109579
Sum([pi(j+1)-pi(j)][prime(j+1)-prime(j)],j=1..n), where pi(k) is the number of prime numbers less than or equal to k and prime(k) is the k-th prime.
Terms
- a(0) =1a(1) =3a(2) =3a(3) =7a(4) =7a(5) =11a(6) =11a(7) =11a(8) =11a(9) =13a(10) =13a(11) =17a(12) =17a(13) =17a(14) =17a(15) =23a(16) =23a(17) =29a(18) =29a(19) =29a(20) =29a(21) =33a(22) =33a(23) =33a(24) =33a(25) =33a(26) =33a(27) =35a(28) =35a(29) =49
External references
- oeis: A109579