Results 1 to 2 of 2

Math Help - The Nth prime number.

  1. #1
    Newbie
    Joined
    Jan 2013
    From
    Amsterdam
    Posts
    3

    The Nth prime number.

    If a = the Nth prime number and b = the (n/2+1)th prime number, will b always be larger than a/2?

    I'm learning to program and wrote a script to find prime numbers that works perfectly only if this is true. I've tested up to the the 17666th prime and it seems to work, but it doesn't feel right to just assume.

    Also can something similar be said of a/3, a/5, a/7, a/11 etc...
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor ebaines's Avatar
    Joined
    Jun 2008
    From
    Illinois
    Posts
    1,089
    Thanks
    314

    Re: The Nth prime number.

    It doesn't work for n=10, where A = the 10th prime number = 29, and B = the 6th prime number = 13, which is less than 29/2.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: September 24th 2011, 11:23 AM
  2. Is this a prime number??
    Posted in the Discrete Math Forum
    Replies: 10
    Last Post: April 25th 2011, 09:24 AM
  3. Prime number
    Posted in the Algebra Forum
    Replies: 3
    Last Post: September 28th 2009, 10:11 PM
  4. Replies: 1
    Last Post: September 2nd 2009, 08:31 AM
  5. Number theory, prime number
    Posted in the Number Theory Forum
    Replies: 1
    Last Post: September 17th 2006, 08:11 PM

Search Tags


/mathhelpforum @mathhelpforum