🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

7 total messages Started by johns Tue, 28 Apr 1987 19:48
Spacing of Prime Numbers
#3554
Author: johns
Date: Tue, 28 Apr 1987 19:48
39 lines
1895 bytes
 This may not be news to readers  of this group, but I thought the follow-
 ing tidbit was interesting. 
  
          The May issue of DISCOVER  magazine  presented a cute problem as
 part of its brain teaser section  on  the  last page of the magazine. The
 question was (I'm paraphrasing it):
  
          Prove there is a  sequence  of at least one million
          consecutive integers, none of whom are prime.
          
 The answer is surprisingly easy:
  
 ----------------------(Spoiler Follows)----------------------------

 Let M = (3 * 4 * 5 * ... * 1,000,003) = (1,000,003!) / 2
  
 Then the consecutive sequence of one million integers consisting of:
  
          M3 = (M + 3)   (that's "M sub three", not "M times three")
          M4 = (M + 4)
          M5 = (M + 5)
  
          ... etc, etc up to  M1000003 = (M + 1,000,003)
  
 contains no primes because 3 is a factor of M3, 4 is a factor of M4, and
 so on, and so on... until 1000003 is a factor of M1000003.
  
 I had always guessed primes were  more  closely spaced than that. 
 (But then, number theory is not my forte.)
  
 BTW, DISCOVER is  a  great  magazine  for explaining technical
 subjects using language almost anyone  can understand. It's usually good
 reading for subjects outside  one's  specialty.  (Such as number theory,
 for me).
  
 John Stice.............
 
 usual disclaimers apply..... etc.
Re: Spacing of Prime Numbers
#3555
Author: hofbauer
Date: Fri, 01 May 1987 00:28
15 lines
1026 bytes
> 
>  This may not be news to readers  of this group, but I thought the follow-
>  ing tidbit was interesting. 
>   
>           The May issue of DISCOVER  magazine  presented a cute problem as
>  part of its brain teaser section  on  the  last page of the magazine. The
>  question was (I'm paraphrasing it):
>   
>           Prove there is a  sequence  of at least one million
>           consecutive integers, none of whom are prime.
>           
If you like this sort of stuff see the book

        Number Theory in Science and Communication
         by M.R. Schroeder
Re: Spacing of Prime Numbers
#3573
Author: Tim Smith
Date: Fri, 08 May 1987 21:02
30 lines
1787 bytes
>           The May issue of DISCOVER  magazine  presented a cute problem as
>  part of its brain teaser section  on  the  last page of the magazine. The
>  question was (I'm paraphrasing it):
>   
>           Prove there is a  sequence  of at least one million
>           consecutive integers, none of whom are prime.

If that were not true, than the prime number theorem would be false.
Roughly, the prime number theorem says that there are about N/ln(N)
primes less than N ( or that the Nth prime is about N*ln(N), or that
primes near N are about ln(N) apart ).

So when you consider numbers around exp(10**6), primes will be spaced
about a million apart.

Since exp(N) < N!, it is very likely that there are a million consecutive
composites well before 1000003!/2.

By the way, you can show with high school level math that there exits
positive constants A and B such that

	AN/ln(N) < pi(N) < BN/ln(N)

where pi(N) is the number of primes less than N.  This is enough to
solve the above problem.  For an elementary proof of this, see Yaglom
and Yaglom, "Challenging Mathematical Problems with Elementary Solutions,
Volume 2".
-- 
Tim Smith		"Learn to juggle while it's still legal"
sdcrdcf!ism780c!tim
Re: Spacing of Prime Numbers
#3574
Author: Greg
Date: Sat, 09 May 1987 20:27
10 lines
902 bytes
In article <6212@ism780c.UUCP> tim@ism780c.UUCP (Tim Smith) writes:
]>           Prove there is a  sequence  of at least one million
]>           consecutive integers, none of whom are prime.
]
]If that were not true, than the prime number theorem would be false.

This is killing a fly with a nuclear device.
1000001! + n is divisible by n for 2<=n<=1000001.
----
Greg
Re: Spacing of Prime Numbers
#3603
Author: der Mouse
Date: Wed, 13 May 1987 05:48
20 lines
1253 bytes
In article <1392@phred.UUCP>, johns@phred.UUCP (John Stice) writes:
> The May issue of DISCOVER magazine [asks]

> Prove there is a sequence of at least one million consecutive
> integers, none of whom are prime.

> [proof, involving 1000003 factorial]

> I had always guessed primes were more closely spaced than that.  (But
> then, number theory is not my forte.)

Note that the number in question (1000003!) has over five and a half
*million* digits (I obtained this by summing logarithms from 1 to
1000003; the result printed as 5.56573e+06).  I somehow don't think
that a run of a million composite numbers is too exceptional when
you're that far out.

					der Mouse

				(mouse@mcgill-vision.uucp)
Re: Spacing of Prime Numbers
#3604
Author: Ken Yap
Date: Sun, 24 May 1987 04:27
7 lines
838 bytes
|Note that the number in question (1000003!) has over five and a half
|*million* digits (I obtained this by summing logarithms from 1 to
|1000003; the result printed as 5.56573e+06).  I somehow don't think

Stirling's approximation would have given you the answer faster.

	Ken
Re: Spacing of Prime Numbers
#3605
Author: Ed Falk
Date: Sun, 24 May 1987 06:39
13 lines
1089 bytes
In article <1938@husc6.UUCP>, greg@endor.harvard.edu (Greg) writes:
> >           Prove there is a  sequence  of at least one million
> >           consecutive integers, none of whom are prime.
>
> 1000001! + n is divisible by n for 2<=n<=1000001.

I'm confused.  How does this prove that there's a million consecutive
composite numbers?  All I see is that there's a composite number with
a million consecutive factors.

-- 
		-ed falk, sun microsystems, falk@sun.com
terrorist, cryptography, DES, drugs, cipher, secret, decode, NSA, CIA, NRO.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads