![]() |
|
|
#1 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
I started a search for Smarandache-Fibonacci primes. A Smarandache-Fibonacci number is a concatenation of Fibonacci numbers. Using the notation SmF, one can specify a specific number in that sequence. For example, SmF6 = 11235813. So far only SmF2 and SmF4 are prime up to SmF1275. I am currently sieving (with pixsieve) up to SmF7500 which is over 2 million decimal digits in length. This form is sieving very nicely. I have a little over 100 terms left and am still sieving.
One little "feature by accident" with pixsieve is that you can use a pfgw DECIMAL as input even when starting a new sieve. Because of this feature I was able to create an input file that only tested terms of specific lengths which corresponded to the SmF lengths rather than all lengths between two values. |
|
|
|
|
|
#2 |
|
"Robert Gerbicz"
Oct 2005
Hungary
22×7×53 Posts |
You can sieve this form much faster what your general string sieve does:
Code:
SmF_{k+1}=SmF_{k}*10^e(k+1)+Fib(k+1) if Fib(k+1) has e(k+1) decimal digits.
Use that e(k+1) is e(k) or e(k)+1, so for fixed p prime: 10^e(k+1) mod p is just r=10^e(k) mod p or 10*r mod p. And obviously Fib(k+1)=Fib(k)+Fib(k-1), here you now already Fib(k) and Fib(k-1) mod p. So you need only one mulmod and other faster operations per each term. |
|
|
|
|
|
#3 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
|
|
|
|
|
|
|
#4 | |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
Quote:
|
|
|
|
|
|
|
#5 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Completed to SmF7500. Considering how long these tests are starting to take (over 2 days on a fast i7) and how few are left after sieving, it will take quite a bit of luck to find another one. If anyone wants to try, you should write a custom sieve as described above. You will likely have well close to 1% of the candidates left to test after sieving.
|
|
|
|
|
|
#6 | |
|
"Robert Gerbicz"
Oct 2005
Hungary
22×7×53 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Smarandache prime(s) | Batalov | And now for something completely different | 90 | 2018-06-15 01:48 |
| Lucas and Fibonacci primes | Batalov | And now for something completely different | 9 | 2017-06-28 16:56 |
| Primes in n-fibonacci sequence and n-step fibonacci sequence | sweety439 | And now for something completely different | 17 | 2017-06-13 03:49 |
| Smarandache-Wellin Primes | rogue | And now for something completely different | 25 | 2016-01-01 17:07 |
| Fibonacci modulo Fibonacci | robert44444uk | Math | 3 | 2007-05-19 07:15 |