![]() |
|
|
#1 |
|
Jun 2009
22·32·19 Posts |
Hi all,
as a little diversion I decided to try to find a "birthday twin" for a friend. So I used the date of birth and the age at the next celebration to search for 19780108*38^n +/-1. To my amazement, no candidate of the -1 side survived. A quick test with pfgw tells me that every candidate is divided by either 3, 5, 7 or 17. in a recurring pattern. Starting with n=1 the divisors are (7, 3, 5, 3, 17, 3, 5, 3, 17, 3, 5, 3) then the cycle restarts. I have an engineer's maths skills, but that involves just about zero number theory. Is there an easy way to explain how I can prove that 19780108*38^n-1 will never be prime? Thanks. |
|
|
|
|
|
#2 | |
|
Jun 2003
22·33·47 Posts |
Quote:
|
|
|
|
|
|
|
#3 | |
|
Romulan Interpreter
Jun 2011
Thailand
23×419 Posts |
Quote:
Repeat for 5, 17. Also, 7 divides every 6th. [edit: grrr... axn!]
Last fiddled with by LaurV on 2015-06-04 at 07:38 |
|
|
|
|
|
|
#4 | |
|
Jun 2009
2AC16 Posts |
Quote:
|
|
|
|
|
|
|
#5 |
|
Romulan Interpreter
Jun 2011
Thailand
23×419 Posts |
38=4 (mod 17). So, when multiplying with itself (mod 17) you get 17^2=4*4=16=-1 (mod 17), 17^3=-1*4=-4, and so on. So, the string of powers of 38 (mod 17), starting with zeroth power, is: 1, 4, 16, 13, 1, 4, 16, 13, etc (or, 1, 4, -1, -4, etc). Your k is 13 (mod 17), or -4 mod 17, if you prefer. So the string of k*b^n will be 13, 1, 4, 16, 13, 1, 4, 16, etc. And when you subtract 1, you get a zero every 4 positions, i.e. k*b^(n=4x+1)-1 is divisible by 17.
|
|
|
|
|
|
#6 | |
|
Jun 2009
2AC16 Posts |
Quote:
So to find a covering set, you just have to try and find such patterns or is there a faster way to get to {3, 5, 17} ? These are pretty low numbers, but once they get bigger, trial and error will be pretty annoying I guess. I have no idea how one would start looking for the smallest conjectured k for a new base. |
|
|
|
|
|
|
#7 |
|
Romulan Interpreter
Jun 2011
Thailand
25A516 Posts |
Well, technically this fits when you know the set already. Another way to "prove" that story with 17 it would be just to show that k*b^(4n+1)=1 (mod 17) for your k, b, and any n, which is a simple modular calculus. That is k*(b^4)^n*b, or -4*1^n*4, or -(-1), i.e. 1 (mod 17).
For the second part, to search for covering sets (and implicitly the smaller k), you factor k*b^n+/-1 for few small n (like, from 1 to 20, is enough) and for a particular k and b, and "look" to the factors, see how they repeat. Eventually, you sieve for higher n with those factors you already got, but there is a very low chance that you get a covering set of more than 10-20 primes, so the "sieving" part is not necessary most of the time. But that is how covering sets of (a, b, c, d) were found, where a,b,c are 1-3 digits primes and d is a very big prime. Then do it for as many k you like, till you find one with the reasonable covering set. (or, say, with "any covering set"). Last fiddled with by LaurV on 2015-06-04 at 10:04 |
|
|
|
|
|
#8 |
|
Jun 2009
22×32×19 Posts |
Great, thank you!
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I may have accidentally hardwared | fivemack | Hardware | 14 | 2018-03-23 01:43 |
| Accidentally factored | Gordon | Factoring | 1 | 2015-11-22 16:17 |
| accidentally unreserved exponent | ixfd64 | PrimeNet | 4 | 2011-12-13 10:27 |
| Have my assignments accidentally got unassigned? | GAPa | PrimeNet | 0 | 2011-05-28 15:09 |
| Accidentally contacted PrimeNet | jeff8765 | Marin's Mersenne-aries | 4 | 2003-10-30 00:55 |