Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A106738
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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 (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

Adjacent sequences: A106735 A106736 A106737 this_sequence A106739 A106740 A106741

Sequence in context: A027400 A053100 A126422 this_sequence A001508 A034242 A142811

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 6 12:54 EDT 2008. Contains 144667 sequences.


AT&T Labs Research