![]() |
|
|
#34 |
|
Mar 2018
53010 Posts |
Can a pg(k) be divisible by 5555?
|
|
|
|
|
|
#35 |
|
Mar 2018
53010 Posts |
an can exist a pg(k) divisible by 1111?
|
|
|
|
|
|
#36 |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
|
|
|
|
|
|
#37 |
|
Mar 2018
2×5×53 Posts |
|
|
|
|
|
|
#38 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#39 |
|
Feb 2017
Nowhere
4,643 Posts |
Work out criteria for divisibility by 5, 11, and 101, and you'll be able to answer this yourself.
Last fiddled with by Dr Sardonicus on 2018-11-21 at 19:39 |
|
|
|
|
|
#40 | |
|
Mar 2018
10228 Posts |
Quote:
A mathexchange user found that no pg(k) is divisible by either 1321 or 3191 or 3541. 1321, 3191 and 3541 are all emirps. And the reverse of 1321, 3191, 3541 that is 1231, 1913, 1453 are all primes of the form x^2+23y^2 Last fiddled with by enzocreti on 2018-11-22 at 08:16 |
|
|
|
|
|
|
#42 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
That may be coincidental. Again, there is nothing special about these numbers.
Also, there are no other "non-divisors" in sight (I tested all primes to 10k, they all divide some pg(x), this test takes just few minutes, what i implemented is a very efficient way to test, you can tel me why, and what I have done in the code; you can directly copy/paste this to a pari/gp window. Code:
pg(d=1321)=
{
a=1;
b=1;
m=21;
t=10;
z=10;
n=1;
while((r=(a*m+t)%d)!=0,
a=((a<<1)+1)%d;
b=(b<<1)+1;
if(b>z,
z=10*z;
m=(10*m-9)%d;
t=(10*t)%d
);
n++;
printf("...%d... %c",n,13)
/* ; write("ff.out",d," : ",n,", ",r) */
);
n
}
p=3;
while(1,print([p=nextprime(p+1),pg(p)]))
Last fiddled with by LaurV on 2018-11-22 at 10:18 |
|
|
|
|
|
#43 | |
|
Mar 2018
2·5·53 Posts |
Quote:
|
|
|
|
|
|
|
#44 |
|
Mar 2018
2·5·53 Posts |
the mersenne number 131071 does not divide any pg(k)
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Primes of the form (b+-1)*b^n+-1 and b^n+-(b+-1) | sweety439 | sweety439 | 162 | 2020-05-15 18:33 |
| Search primes of form 2*n^n ± 1 | JeppeSN | And now for something completely different | 27 | 2018-04-12 14:20 |
| Primes of the form n+-phi(n) | carpetpool | carpetpool | 3 | 2017-01-26 01:29 |
| Primes of the form a^(2^n)+b^(2^n) | YuL | Math | 21 | 2012-10-23 11:06 |
| Primes of the form 2.3^n+1 | Dougy | Math | 8 | 2009-09-03 02:44 |