login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106738 Difference between the sums of odd indexed primes and even indexed primes up to and including index 10^n. 1
13, 251, 4031, 52017, 652039, 7746369, 89721621, 1019145113 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

Sum1 = prime(1)+prime(3)+..+prime(k), k=1, 3, 5, ..10^n-1

a(n) = sum_{i=1...10^n} (-1)^i*A000040(i). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 13 2008

MAPLE

A106738 := proc(n) local a, i ; a :=0 ; for i from 1 to 10^n do a := a+(-1)^i*ithprime(i) ; od: RETURN(a) ; end: for n from 1 do print(A106738(n)) ; od: - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 13 2008

CROSSREFS

Sequence in context: A053100 A183416 A126422 * A001508 A157946 A034242

Adjacent sequences:  A106735 A106736 A106737 * A106739 A106740 A106741

KEYWORD

more,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 15 2005

EXTENSIONS

Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 13 2008

a(7)-a(8) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Nov 30 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 08:06 EST 2012. Contains 205604 sequences.