Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PrimeNumbers] ((p+1)/2)^q - ((p-1)/2)^q

Expand Messages
  • mikeoakes2@aol.com
    In a message dated 30/09/02 18:34:25 GMT Daylight Time, perry@globalnet.co.uk ... If you set (p+1)/2 = b, then you are looking at b^q-(b-1)^q. Some time ago I
    Message 1 of 2 , Sep 30, 2002
      In a message dated 30/09/02 18:34:25 GMT Daylight Time, perry@...
      writes:


      > When is this prime?
      >
      > forprime (p=3,30,forprime(q=3,30,write("pq.txt",((p+1)/2)^q-((p-1)/2)^q," :
      > ",isprime(((p+1)/2)^q-((p-1)/2)^q))))
      >

      If you set (p+1)/2 = b, then you are looking at b^q-(b-1)^q. Some time ago I
      did a fairly extensive investigation of primes and PRPs of this form, but
      where b is not necessarily restricted to be (p+1)/2, for 2<=b<=100 and 2<=q<
      =1000, summarized in my NMBRTHRY post of 19 May 2001:-
      http://listserv.nodak.edu/scripts/wa.exe?A2=ind0105&L=nmbrthry&P=R359

      Mike



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.