![]() |
|
|
#12 |
|
Apr 2010
2268 Posts |
It seems no Carmichael number N below 10^21 has been found with integral Lehmer index (N-1)/phi(N).
P.S.: See also: Lehmer's Totient Problem and some (apparent) update. Last fiddled with by ccorn on 2011-12-06 at 01:36 |
|
|
|
|
|
#13 | |
|
Aug 2006
135338 Posts |
Quote:
So if you're searching for an example below 1.24 * 10^518, you can assume Last fiddled with by CRGreathouse on 2011-12-06 at 02:10 |
|
|
|
|
|
|
#14 |
|
Aug 2006
3·1,993 Posts |
For the above range you can also assume that at least one prime in {5, 7, 11, 13, 17, 19} divides N. (The method can be pushed further but as I haven't automated it this is the furthest I could reasonably prove; ruling out 19 would take a large number of case arguments.)
Also if Last fiddled with by CRGreathouse on 2011-12-06 at 03:02 |
|
|
|
|
|
#15 |
|
Aug 2006
3·1,993 Posts |
Ignore my second paragraph above; it's based on ccorn's second link, but that page's author (Weisstein) seems to have something confused and I can't find the original.
I did show that a prime < 19 must divide N, so (again all for the case N < 1.24e518):
It would be helpful to know what Wall 1980 actually said, because if it helped rule out 5 | N that would go a long way toward improving the other bounds. |
|
|
|
|
|
#16 | |
|
Dec 2011
22×32 Posts |
Quote:
|
|
|
|
|
|
|
#17 |
|
Dec 2011
448 Posts |
I am still having a problem getting to grips with the following:
Let a, n be positive integers such that (a , n) = 1. If a^(n - 1) = 1 (mod. n) and phi(n) divides (n - 1), is n prime? For example 2^(560) = 1 (mod 561) but phi(561) = 320 which neither divides nor is divisable by 560. But 561 = 3.11.17 is not prime. Last fiddled with by Stan on 2011-12-18 at 20:49 |
|
|
|
|
|
#18 |
|
"William"
May 2003
New Haven
2×7×132 Posts |
Obviously not - your own counter example proves it cannot be true.
561 is the smallest Carmichael number. The true argument goes the other way - if p is prime, then the equivalence holds. If p is not prime, the equivalence might hold or it might not. Carmichael numbers are composite numbers for which the equivalence always holds. This happens because for every p that divides the Carmichael number, N-1 is divisible by p-1. Hence a^(N-1) = (a^(p-1))^M. Thus a^(N-1) = 1 mod p for every p dividing N, and hence for the product of those p's. |
|
|
|
|
|
#19 | |
|
Romulan Interpreter
Jun 2011
Thailand
26·151 Posts |
Quote:
What he said is most probably true (see Lehmer's conjecture**), phi(n) divides n-1 only for primes, always. With or without the first (Fermat) part being true or not. You maybe confused the eulerphi(n) function with the znorder(a,n) function. Next line will print all primes up to a million. Code:
for(n=2,10^6,a=eulerphi(n);if((c=(n-1)%a)==0, print(n"\t"a"\t"c))) Code:
for(n=2,10^6,a=eulerphi(n);if((c=(n-1)%a)==0 && !isprime(n), print(n"\t"a"\t"c))) Last fiddled with by LaurV on 2011-12-19 at 05:01 |
|
|
|
|
|
|
#20 |
|
"William"
May 2003
New Haven
2×7×132 Posts |
|
|
|
|
|
|
#21 | |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Quote:
|
|
|
|
|
|
|
#22 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
never mind I realized that the code didn't have everything the OP talked about in the latest question:
Code:
for(n=2,10^2,for(a=2,n,if(gcd(a,n)==1 && (a^(n-1))%n==1 && (c=(n-1)%a)==0 && !isprime(n), print(n"\t"a"\t"c);break()))) edit: doh forgot to use eulerphi. Last fiddled with by science_man_88 on 2011-12-19 at 16:09 |
|
|
|