![]() |
|
|
#1 |
|
Feb 2012
Prague, Czech Republ
2628 Posts |
Edit: Actually, there always exists the form with Last fiddled with by jnml on 2018-01-25 at 20:26 Reason: bug |
|
|
|
|
|
#2 |
|
Feb 2012
Prague, Czech Republ
B216 Posts |
|
|
|
|
|
|
#3 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Except if we knew n, we'd have a factorization of N. N need be same parity as n. If k and n aren't coprime then there's a smaller factor of N in their GCD.
Last fiddled with by science_man_88 on 2018-01-25 at 20:39 |
|
|
|
|
|
#4 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#5 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
24·593 Posts |
|
|
|
|
|
|
#6 | |
|
Feb 2012
Prague, Czech Republ
2·89 Posts |
Quote:
. You have no idea how nice is to reinvent wheels for us, uneducated common people.Just needed to prove something and yes, of course the form implies n|N. But it also, to my surprise, trivialy implies m|N, for m not necessarily equal n and that's what it's useful for my case. Can someone else see that? ;-) |
|
|
|
|
|
|
#7 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#8 |
|
Feb 2012
Prague, Czech Republ
101100102 Posts |
Hmm, that was retracted long before your reply, ie. <-> was changed to ->. What's your point?
Last fiddled with by jnml on 2018-01-25 at 22:10 Reason: s/ago/before/ |
|
|
|
|
|
#9 | |
|
Aug 2006
3·1,993 Posts |
I apologize, I didn't really intend to tease.
Quote:
Yes, it's an important principle, the key insight that lets us prove primality by checking up to sqrt(N) rather than N. |
|
|
|
|
|
|
#10 |
|
Feb 2017
Nowhere
32·11·47 Posts |
The OP to the thread only requires the minor correction that k could also be zero. Since N is specified to be odd, all positive integer divisors of N are odd, so any two of them differ by an even integer.
Pursuant to CRGreathouse's observation, suppose that N is composite. This means that N > 1, and that there is an integer n, 1 < n < N, such that n divides N. Suppose n is the least such positive integer. Then, the observation is manifest by so that An additional observation: The integer n is prime. For n > 1, and if 1 < m < n, then m does not divide n (because then m would divide N, contradicting the definition of n as the least such integer). Thus n is prime, directly from the definition of primality. |
|
|
|
|
|
#11 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modifying the Lucas Lehmer Primality Test into a fast test of nothing | Trilo | Miscellaneous Math | 25 | 2018-03-11 23:20 |
| Conjectured compositeness tests for N=k⋅2n±c by Predrag | T.Rex | Miscellaneous Math | 27 | 2015-10-16 19:02 |
| Double check LL test faster than first run test | lidocorc | Software | 3 | 2008-12-03 15:12 |
| Will the torture test, test ALL available memory? | swinster | Software | 2 | 2007-12-01 17:54 |
| A primality test for Fermat numbers faster than Pépin's test ? | T.Rex | Math | 0 | 2004-10-26 21:37 |