login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A179789
Sum of the differences between the first prime and the next, inside in the first jump in a Sieve of Eratosthenes table.
1
1, 2, 2, 10, 16, 20, 34, 44, 66, 78, 124, 182, 184, 206, 212, 300, 386, 360, 412, 494, 466, 608, 628, 700, 928, 1046, 1006, 1034, 996, 1034, 1440, 1474, 1728, 1816, 1976, 1922, 2226, 2212, 2264, 2260, 2604, 2722, 2968, 3094, 3158, 3292, 3714, 4148, 4218, 4370
OFFSET
0,2
COMMENTS
2 - 3 = 1, 3 - 5 = 2, 5 - 7 = 2, 7 - 11 = 4 + 7 - 13 = 6 ==> 4 + 6 = 10, 11 - 13 = 2 + 11 - 17 = 6 + 11 - 19 = 8 ==> 2 + 6 + 8 = 16.
MAPLE
A179789 := proc(n) a :=0 ; for q from ithprime(n)+1 to 2*ithprime(n) do if isprime(q) then a := a+q-ithprime(n) ; end if; end do: a ; end proc: seq(A179789(n), n=1..50) ; # R. J. Mathar, Sep 19 2010
CROSSREFS
Sequence in context: A316200 A360636 A362745 * A334396 A265199 A294755
KEYWORD
nonn
AUTHOR
Odimar Fabeny, Jul 27 2010
EXTENSIONS
Extended by R. J. Mathar, Sep 19 2010
STATUS
approved