Questions tagged [carmichael-numbers]

Use this tag for questions about composite numbers n that satisfy b^(n-1) ≡ 1 (mod n) for all integers b relatively prime to n.

In number theory, a Carmichael number is a composite number n that satisfies the modular arithmetic congruence relation b$^{n-1}$ ≡ 1 (mod n) for all integers b relatively prime to n.

Fermat's little theorem states that if p is a prime number, then for any integer b, the number b$^p$ − b is an integer multiple of p. Carmichael numbers are composite numbers having that property. A Carmichael number will pass a Fermat primality test to every base b relatively prime to the number even though it is not actually prime. That makes tests based on Fermat's little theorem less effective than strong probable prime tests.

62 questions
11
votes
2 answers

Why do Carmichael numbers (appear to) frequently end in $1$?

An integer $n$ is a Carmichael number if it is composite and satisfies $a^{n-1} \equiv 1(\mod{n})$ for all integers $a$ with $1
10
votes
3 answers

Carmichael number divisible by a given positive integer

Prove or disprove this conjecture : If $k>2$ is an integer with $\gcd(k,\varphi(k))=1$ , then there is a Carmichael number $N$ with $k\mid N$ The condition $\gcd(k,\varphi(k))=1$ is necessary. Otherwise, $k$ would not be squarefree and therefore…
7
votes
2 answers

Is it true that if $n$ is a Carmichael number then $n-1$ cannot be square free?

It is known that a positive composite integer $n$ is a Carmichael number if and only if $n$ is square-free, and for all prime divisors $p$ of $n$, it is true that $(p-1)\mid (n-1)$. Question: Is it true that if $n$ is a Carmichael number then $n-1$…
5
votes
1 answer

Are there infinite many primes that cannot be the largest prime factor of a Carmichael-number?

Let $S$ be the set of prime numbers $p$ that cannot be the LARGEST prime factor of a Carmichael-number. The first elements of $S$ are : $$[2, 3, 5, 7, 11, 13, 23, 43, 47, 53, 59, 83]$$ Does $S$ contain infinite many primes ? I could only find out…
5
votes
0 answers

Can a product of consecutive primes be a Carmichael number?

Can a product $p_1\cdot\ \cdots\ \cdot p_n$ with consecutive primes $p_1,\cdots,p_n$ be a Carmichael number ? I have used two different search strategies to find a possible example. The first is based on the smallest prime in the list. We can stop…
5
votes
0 answers

Can $a^4+1$ be a Carmichael number?

Prove or disprove : There is no positive integer $\ a\ $, such that $\ a^4+1\ $ is a Carmichael number. Since $\ 3\ $ is not a weak Fermat-psedudoprime of $\ a^4+1\ $ upto at least $\ a=5\cdot 10^7\ $ (which I tested with pari/gp using the strict…
5
votes
1 answer

Why is 2 not a Carmichael Number?

I know I'm missing something super basic here but: From the definition in my textbook, a Carmichael is any number n such that $(\forall a)\; \gcd(a,n) = 1$: $a^n \equiv a \pmod n$ or $a^{n-1} \equiv 1 \pmod n$ So by this definition, how come $2$…
5
votes
1 answer

Asymmetry for Carmichael 'twins'

Using a table of Carmichael numbers up to $10^{16}$, there are $34971$ pairs $(c-2,c)$ where $c$ is a Carmichael number and $c-2$ is prime but only $204$ pairs $(c,c+2)$ with $c+2$ prime. Is there some theoretically reason for this striking…
4
votes
1 answer

Can an Odd Perfect Number be a Carmichael Number?

Can an odd perfect number $n$ be a Carmichael number? We know that all Carmichael numbers are odd and square-free. But is there a Carmichael number that is also a perfect number? We all know that if odd perfect numbers exists, they must be form of…
4
votes
0 answers

Addition to previously asked question on Generalized Carmichael Numbers

I had previously asked a question on mathstack exchange (Conjecture on The Generalized Carmichael Numbers) concerning with a conjecture I had discovered. I worked on the problem for a long time and discovered one more conjecture. With the same terms…
4
votes
1 answer

Every integer in the form $(6m + 1)(12m + 1)(18m + 1)$, is a carmichael number.

Question: Show that every integer of the form $(6m + 1)(12m + 1)(18m + 1)$, where m is a positive integer such that $6m + 1$, $12m + 1$, and $18m + 1$ are all primes, is a Carmichael Number I know that $(6m + 1)(12m + 1)(18m + 1)$ is probably the…
3
votes
0 answers

A Mersenne number is never a Carmichael number

I am tasked with proving that all Mersenne composites (that is, composite numbers of the form $2^n -1$) are either always Carmichael numbers or never are. Running some tests, I have found some Mersenne composites that are not Carmichael, so the…
3
votes
0 answers

Largest known non-pandigital Carmichael-number?

This Carmichaelnumber with $39$ digits $$145410193191244273054310497291961592961$$ is not pandigital , the digit $8$ is missing. What is the largest known Carmichael-number not being pandigital (with at least one digit missing in the decimal…
3
votes
0 answers

Conjecture on The Generalized Carmichael Numbers

Define $$C_k = \{n \in \mathbb{Z}: n > \max(k, 0) \text{ }\text{and}\text{ }a^{n - k + 1} \equiv a \pmod{n} \text{ }\text{for all} \text{ } a \in \mathbb{Z}\}$$ Thus it's easy to see that when $k = 1$, $C_1$ consists of all of the prime numbers and…
3
votes
1 answer

On the existence of abundant Carmichael numbers

A natural number $n$ is called Carmichael if it is squarefree and for each prime factor $p$ of $n$, $p-1$ divides $n-1$. Moreover, $n$ is abundant if the sum of its divisors is $>2n$. I have checked the first Carmichael numbers and I have seen that…
1
2 3 4 5