cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A276355 Sum of primes between 100*n and 100*n + 99.

Original entry on oeis.org

1060, 3167, 4048, 5612, 7649, 7760, 10316, 10466, 12719, 13330, 16826, 13780, 18775, 14759, 24773, 18666, 24679, 21022, 22230, 25413, 28750, 21398, 33781, 35381, 24452, 28057, 39905, 38474, 34168, 32407, 36560, 31544, 35669, 50157, 38009, 49688, 47439, 44994
Offset: 0

Views

Author

Bhushan Bade, Aug 31 2016

Keywords

Comments

The first occurrence of 0 in this sequence is as a(16718). - Robert Israel, Dec 28 2022

Examples

			Sum of primes in first interval of one hundred numbers: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 is equal to first term i.e 1060.
		

Crossrefs

Programs

  • Maple
    R:= NULL: m:= 0: p:= 0: s:= 0:
    while m <= 100 do
      p:= nextprime(p);
      r:= floor(p/100);
      if r = m then
        s:= s + p;
      else
        R:= R, s;
        if m < r-1 then R:= R, 0$(r-1-m) fi;
        s:= p;
        m:= r;
      fi
    od:
    R;
  • Mathematica
    Table[Total@ Select[Range[#, # + 99] &[100 n], PrimeQ], {n, 0, 37}] (* Michael De Vlieger, Sep 01 2016 *)

Formula

a(n) = A034387(100*(n+1)) - A034387(100*n). - Robert Israel, Aug 31 2016

Extensions

Definition by Omar E. Pol, Aug 31 2016