![]() |
|
|
#320 | |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Quote:
2) I'n not saying all n are needed I'm saying all n that give odd Mersenne numbers in either 6n+/-1 or 24n+7 are in the sequence given. 3) I don't have a defined value for c but p is a number (I prefer prime) n is a integer>=0 I think and that's about that. |
|
|
|
|
|
|
#321 |
|
Aug 2006
3·1,993 Posts |
That would be a quick test. I have a quick and equally effective test: do nothing. (2 to the power of any odd number > 1, minus 1, is 7 mod 24.)
|
|
|
|
|
|
#322 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Next counterexample: 5023 is prime and it is 6n*p ± p and 24n + 7. This one is false because 1567 and 5023 are primes and meet the requirements you made. Last fiddled with by 3.14159 on 2010-08-03 at 17:22 |
|
|
|
|
|
|
#323 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
2^11-1 = 2047 = 7 mod 24. That seems to be correct. |
|
|
|
|
|
|
#324 |
|
Aug 2006
175B16 Posts |
|
|
|
|
|
|
#325 | ||
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Quote:
Last fiddled with by 3.14159 on 2010-08-03 at 17:22 |
||
|
|
|
|
|
#326 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
6n*p+/-p = (6n+/-1)*p I'll admit if p is one it's prime so try it for primes. anything I have given you that doesn't make sense ? |
|
|
|
|
|
|
#327 | |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Quote:
Last fiddled with by 3.14159 on 2010-08-03 at 17:28 |
|
|
|
|
|
|
#329 | |
|
Aug 2006
3×1,993 Posts |
Quote:
or a quadruple (m, n, p, q) with or a triple (m, n, p) with ? My best guess was the last, the literal wording suggests the first, and Pi seems to have guessed the second. OF course other interpretations may be possible. p and q are primes and m,n natural numbers, presumably. Last fiddled with by CRGreathouse on 2010-08-03 at 17:32 |
|
|
|
|
|
|
#330 | |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Quote:
I'm almost positive anything without these counters work and if we can figure the pattern to p*n+c that work for each p then we just have to find an equation to eliminate when they equal 4x+1 and relate 4x+1 values to n values to plug into a(n+1) = 4*a(n)+1 if I'm right to figure what indexes don't give primes. long road I know. latest code I used was: Code:
for(p=5,30,for(n=1,20,if((6*n*p+p)%24==7 || (6*n*p-p)%24==7,print(floor((6*n*p-p)/24)","p)))) Last fiddled with by science_man_88 on 2010-08-03 at 17:37 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wheel Factorization | a1call | Factoring | 11 | 2017-06-19 14:04 |
| Efficient Test | paulunderwood | Computer Science & Computational Number Theory | 5 | 2017-06-09 14:02 |
| LL tests more credit-efficient than P-1? | ixfd64 | Software | 3 | 2011-02-20 16:24 |
| A Wheel | storm5510 | Puzzles | 7 | 2010-06-25 10:29 |
| Most efficient way to LL | hj47 | Software | 11 | 2009-01-29 00:45 |