2017-06-14, 14:41 | #1 |
Aug 2006
5979_{10} Posts |
Linear() -> Lucas in pfgw
I'm searching for primes in a Fibonacci-like recurrence:
a(1) = 8193, a(2) = 28618, a(n) = a(n-1) + a(n-2). I entered an ABC2 file like so Code:
ABC2 Linear(8193, 28618, 36811, 65429, $a) a: from 1 to 100000 Code:
Linear() -> Lucas P=1,Q=-1 |
2017-06-14, 15:20 | #2 | ||
Sep 2002
Database er0rr
2·7·281 Posts |
Quote:
I am not sure about how it is done! The manual goes on to say: Quote:
Last fiddled with by paulunderwood on 2017-06-14 at 15:43 |
||
2017-06-14, 16:05 | #3 |
Aug 2006
175B_{16} Posts |
You know, I think I just miscalculated the first time around, because it looks like it is indeed a linear combination of the relevant Lucas sequences, which in this case are the Lucas sequence and the Fibonacci sequence:
(20425*L($a) - 4039*F($a))/2 Sorry for the trouble. |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linear Congruence order 4 sequence not testing in PFGW? | carpetpool | Software | 14 | 2017-07-13 19:54 |
PFGW 3.3.6 or PFGW 3.4.2 Please update now! | Joe O | Sierpinski/Riesel Base 5 | 5 | 2010-09-30 14:07 |
Linear algebra at 600% | CRGreathouse | Msieve | 8 | 2009-08-05 07:25 |
Linear algebra proof | Damian | Math | 8 | 2007-02-12 22:25 |
Linear algebra in MPQS | R1zZ1 | Factoring | 2 | 2007-02-02 06:45 |