561: Difference between revisions

From Number
Line 63: Line 63:
===Summary===
===Summary===


===Fermat test===
===Fermat primality test===


561 is a [[Fermat pseudoprime]] to base <math>a</math> if the order of <math>a</math> mod 3 divides 560, the order of <math>a</math> mod 11 divides 560, and the order of <math>a</math> mod 17 divides 560. Each of these conditions holds for all <math>a</math> relatively prime to 561, because each of the numbers 3-1,11-1, 17-1 divides 560. Another way of putting this is that the lcm of these, which is the [[universal exponent]], divides 560.
{{further|[[Fermat primality test]]}}


Thus, 561 is a Fermat pseudoprime to every base relatively prime to it. Numbers with this property are termed [[Carmichael number]]s or absolute pseudoprimes. Thus, 561 is a Carmichael number. In fact, it is the smallest Carmichael number.
561 is a [[Fermat pseudoprime]] to base <math>a</math> (or equivalently, <math>a</math> is a [[Fermat liar]] for <math>n</math>) if the order of <math>a</math> mod 3 divides 560, the order of <math>a</math> mod 11 divides 560, and the order of <math>a</math> mod 17 divides 560. Each of these conditions holds for all <math>a</math> relatively prime to 561, because each of the numbers 3-1,11-1, 17-1 divides 560. Another way of putting this is that the lcm of these, which is the [[universal exponent]], divides 560.
 
Thus, 561 is a Fermat pseudoprime to every base relatively prime to it (or equivalently, every number relatively prime to 561 is a [[Fermat liar]] for 561). Numbers with this property are termed [[Carmichael number]]s or absolute pseudoprimes. Thus, 561 is a Carmichael number. In fact, it is the smallest Carmichael number.
 
This means that the probability of success for a single iteration of the Fermat primality test is the probability that a randomly chosen element from 1 to 560 has a common factor with 561. This is given by:
 
<math>\frac{561 - \varphi(561) - 1}{561 - 1} = \frac{240}{560} = \frac{3}{7}</math>

Revision as of 23:27, 4 January 2012

This article is about a particular natural number.|View all articles on particular natural numbers

Summary

Factorization

561 is a square-free number with prime factors 3, 11, and 17. The prime factorization is:

Properties and families

Property or family Parameter values First few numbers satisfying the property Proof of satisfaction/membership/containment
Carmichael number (also called absolute pseudoprime) first Carmichael number 561, 1105, 1729, 2465, 2821, 6601, [SHOW MORE]View list on OEIS The universal exponent is which divides
Poulet number (Fermat pseudoprime to base 2) second Poulet number 341, 561, 645, 1105, 1387, 1729, 1905, 2047, [SHOW MORE] View list on OEIS follows from its being an odd Carmichael number.

Arithmetic functions

Function Value Explanation
Euler totient function 320 The Euler totient function is .
universal exponent 80 The universal exponent is the least common multiple of , which is and equals 80.
Note that 561 is a Carmichael number precisely because the universal exponent divides 561 - 1 = 560.
Mobius function -1 The number is a square-free number and it has an odd number of prime divisors (3 prime divisors).
divisor count function 8 where the first 1s in each sum denote the multiplicities of the prime divisors.
largest prime divisor 17
largest prime power divisor 17

Structure of integers mod 561

Abstract structure

Template:Square-free number multiplicative group facts to check against

By the Chinese remainder theorem, we have the ring decomposition:

For the multiplicative group, this gives:

All groups on the right side are cyclic, and we get:

This group has order (the order of the multiplicative group is termed the Euler totient function and denoted , so this is saying that ).

The exponents of the factor groups are 2, 10, and 16 respectively, hence the exponent of the whole group is the lcm of these, which is 80. The exponent of the multiplicative group is termed the universal exponent and denoted , so this is saying that ).

Primality testing

Summary

Fermat primality test

Further information: Fermat primality test

561 is a Fermat pseudoprime to base (or equivalently, is a Fermat liar for ) if the order of mod 3 divides 560, the order of mod 11 divides 560, and the order of mod 17 divides 560. Each of these conditions holds for all relatively prime to 561, because each of the numbers 3-1,11-1, 17-1 divides 560. Another way of putting this is that the lcm of these, which is the universal exponent, divides 560.

Thus, 561 is a Fermat pseudoprime to every base relatively prime to it (or equivalently, every number relatively prime to 561 is a Fermat liar for 561). Numbers with this property are termed Carmichael numbers or absolute pseudoprimes. Thus, 561 is a Carmichael number. In fact, it is the smallest Carmichael number.

This means that the probability of success for a single iteration of the Fermat primality test is the probability that a randomly chosen element from 1 to 560 has a common factor with 561. This is given by: