Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117758
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117758 Number of primes between the successive central binomial coefficients; i.e. the number of primes in the interval (C(2n,n),C(2n+2,n+1)], with inclusion on the right. +0
1
1, 2, 5, 11, 35, 103, 323, 1052, 3469, 11726, 40234, 139955, 492505, 1750900, 6275491, 22662455, 82364564, 301058002, 1106006504, 4081585024, 15124027686, 56247438994, 209889216294, 785601467368, 2948682167318 (list; graph; listen)
OFFSET

0,2

EXAMPLE

a(1) = 2 because the primes 3 and 5 lie in the interval (2,6].

MAPLE

a:=proc(n) local ct, j: ct:=0: for j from binomial(2*n, n)+1 to binomial(2*n+2, n+1) do if isprime(j)=true then ct:=ct+1 else fi: ct: od: end: seq(a(n), n=0..13); # execution takes hours - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 16 2006

MATHEMATICA

Do[Print[PrimePi[Binomial[2*n + 2, n + 1]] - PrimePi[Binomial[2*n, n]]], {n, 0, 25}] - Ryan Propper (rpropper(AT)stanford.edu), May 06 2006

PROGRAM

(PARI) { for(n=0, 30, istrt=binomial(2*n, n) ; iend=binomial(2*n+2, n+1) ; resul=0 ; forprime(p=istrt+1, iend, resul++ ; ) ; print1(resul, ", ") ; ) ; } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 21 2006

CROSSREFS

Cf. A036378.

Sequence in context: A006400 A080068 A101834 this_sequence A130622 A112600 A092298

Adjacent sequences: A117755 A117756 A117757 this_sequence A117759 A117760 A117761

KEYWORD

nonn

AUTHOR

Greg Huber (huber(AT)alum.mit.edu), Apr 14 2006

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu) and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 16 2006

More terms from Ryan Propper (rpropper(AT)stanford.edu), May 06 2006

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 November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research