|
Search: id:A106738
|
|
|
| A106738 |
|
Difference between the sums of odd indexed primes and even indexed primes up to and including index 10^n. |
|
+0 1
|
|
| 13, 251, 4031, 52017, 652039, 7746369, 89721621, 1019145113
(list; graph; listen)
|
|
|
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: A027400 A053100 A126422 this_sequence A001508 A157946 A034242
Adjacent sequences: A106735 A106736 A106737 this_sequence 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
|
|
|
Search completed in 0.002 seconds
|