1
   

Pseudoprime

 
 
RK4
 
Reply Wed 16 Nov, 2005 01:47 am
Show that 45 is a pseudoprime to the base 19.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 1,948 • Replies: 9
No top replies

 
kingofmen
 
  1  
Reply Wed 16 Nov, 2005 02:16 am
what is pseudoprime ? Question
0 Replies
 
fresco
 
  1  
Reply Wed 16 Nov, 2005 06:47 am
"A pseudoprime is a composite number that passes a test or sequence of tests that fail for most composite numbers. Unfortunately, some authors drop the "composite" requirement, calling any number that passes the specified tests a pseudoprime even if it is prime. Pomerance, Selfridge, and Wagstaff (1980) restrict their use of "pseudoprime" to odd composite numbers. "Pseudoprime" used without qualification means Fermat pseudoprime. "

So now you know ! :wink:
0 Replies
 
markr
 
  1  
Reply Wed 16 Nov, 2005 11:18 am
You need to show that 19^(45-1) = 1 mod 45

Calculate 19^2 mod 45
It's easy from there...
0 Replies
 
kingofmen
 
  1  
Reply Wed 16 Nov, 2005 12:54 pm
what is composite number ? Sad
0 Replies
 
fresco
 
  1  
Reply Wed 16 Nov, 2005 02:19 pm
A composite number is a positive integer which is not prime.
0 Replies
 
RK4
 
  1  
Reply Wed 16 Nov, 2005 05:41 pm
markr wrote:
You need to show that 19^(45-1) = 1 mod 45

Calculate 19^2 mod 45
It's easy from there...


I knew this part as well...

Please elaborate...

This is what I've tried thus far...

We know that 45 = 5 * 9, hence is composite as you mentioned...

We need to show that 19^45 = 19 (mod 45)

But to establish this it is sufficient to show that:

19^45 = 19 (mod 9) and 19^45 = 19 (mod 5)

since gcd(9,5) = 1 (they are relatively prime)

Also, gcd(19,5) = 1 and this implies that 19^4 = 1 (mod 5) (Fermat)

then what?
0 Replies
 
RK4
 
  1  
Reply Wed 16 Nov, 2005 05:49 pm
fresco wrote:
A composite number is a positive integer which is not prime.


I appreciate your definition but I'd appreciate even more if you could say something pertaining to the problem at hand...

We know that 45 = 5 * 9, hence is composite as you mentioned...

We need to show that 19^45 = 19 (mod 45)

But to establish this it is sufficient to show that:

19^45 = 19 (mod 9) and 19^45 = 19 (mod 5)

since gcd(9,5) = 1 (they are relatively prime)

Also, gcd(19,5) = 1 and this implies that 19^4 = 1 (mod 5) (Fermat)

then what?
0 Replies
 
kingofmen
 
  1  
Reply Wed 16 Nov, 2005 08:06 pm
i still don't understand what pseudoprime is
as i know, prime is a positive integer, larger than 1 ,whose its gcd is itself.
therefore, i guess pseudoprime is a number seem to be prime but actually not. Am I right ?
1 request, what is Fermat theorem about the prime ? I forgot it because it's been a long time since I stopped studying algebra :wink:
0 Replies
 
markr
 
  1  
Reply Wed 16 Nov, 2005 09:40 pm
Perhaps my method is a bit more brute force than you're looking for, but if
19^2 = 1 mod 45 (it does)
then
(19^2)^22 = 19^44 = 1 mod 45
0 Replies
 
 

Related Topics

Evolution 101 - Discussion by gungasnake
Typing Equations on a PC - Discussion by Brandon9000
The Future of Artificial Intelligence - Discussion by Brandon9000
The well known Mind vs Brain. - Discussion by crayon851
Scientists Offer Proof of 'Dark Matter' - Discussion by oralloy
Blue Saturn - Discussion by oralloy
Bald Eagle-DDT Myth Still Flying High - Discussion by gungasnake
DDT: A Weapon of Mass Survival - Discussion by gungasnake
 
  1. Forums
  2. » Pseudoprime
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 05/08/2024 at 10:28:48