Fermat and strong pseudoprimes

431 Views Asked by At

A composite number is said to be a Fermat pseudoprime to the base $a$ if $\gcd(a, n) = 1$ and $a^{n - 1} \equiv 1 \bmod n$.

Let $n$ be an odd composite number, $n = t2^k + 1$ with $t$ odd. Let $a$ be such that $\gcd(a, n) = 1$. It is said that $n$ is a strong pseudoprime to the base $a$ if any of the following conditions is satisfied:

i) $a^t \equiv 1 \bmod n$

ii) There exists $0 \leq i < k$ such that $a^{2^it}\equiv -1 \bmod n$

Let $n$ be an integer and $a, b$ with $\gcd(a, b) = 1$, primes with $n$ and $n$ Fermat pseudoprime to the bases $a$ and $b$. Say if the following statements are true, justifying the answer:

a) If $n$ is a strong pseudoprime to the bases $a$ and $b$ then $n$ is strong pseudoprime to the base $ab$.

b) If $n$ is not a strong pseudoprime for either base $a$ and $b$ then $n$ is a strong pseodoprime to the base $ab$

Thanks!

1

There are 1 best solutions below

3
On

A counter-example for $b)$ is $1105=5\cdot 13\cdot 17=2^4\cdot 3\cdot 23+1$

It is a fermat-pseudoprime to the bases $2,3$ and $6$ and it is not strong pseudoprime to any of the bases $2,3$ and $6$

A counter-example for $a)$ is $2353=13\cdot 181=2^4\cdot 3\cdot 7^2+1$

It is a fermat-pseudoprime to the bases $7,19$ and $133$. It is also strong pseudoprime to the bases $7$ and $19$, but not to the base $133$