Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Number theory
Reply
 
Thread Tools Display Modes
  #1  
Old October 8th, 2009, 06:12 PM
Newbie
 
Join Date: Jan 2009
Posts: 9
Country:
Thanks: 0
Thanked 1 Time in 1 Post
kobulingam is on a distinguished road
Default Tough prime testing question

If
n > 1 is an integer and for each prime factor q of n-1 there is an an integer a such that and a^(n-1)=1 (mod n),
but a^((n-1)/q) != 1 (mod n), then n is prime.


Reply With Quote
Advertisement
 
  #2  
Old October 9th, 2009, 03:41 AM
Super Member
 
Join Date: Jan 2009
Posts: 592
Country:
Thanks: 69
Thanked 133 Times in 123 Posts
aidan will become famous soon enoughaidan will become famous soon enough
Default

Quote:
Originally Posted by kobulingam View Post
If n > 1 is an integer and for each prime factor q of n-1 there is an an integer a such that and a^(n-1)=1 (mod n),

but a^((n-1)/q) != 1 (mod n), then n is prime.
I don't see a question.
That is a statement of the Lucas primality test.
An explanation for the correctness of that is here: Lucas primality test - Wikipedia, the free encyclopedia
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 04:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.