Longest Lucas seq. from start to "n"

Peter Pein petsie at dordos.net
Thu Oct 18 23:54:22 CEST 2007


Eric Angelini schrieb:
> Waow, so quick! Thanks to both of you!
> There should be a seq in the OEIS, where
> a(n) would be the length of the seq. ge-
> nerated by "n" (i.e "11" for a(20007))
> Best,
> É.
> 
>> M.H.
>>
>> gp > find(2007)
>> %31 = [11, [2007, 1240, 767, 473, 294, 179, 115, 64, 51, 13, 38]]
>>
>> gp > round(2007*(sqrt(5)/2-.5))
>> %32 = 1240
> 
> 

After doing a quick hack in Mathematica and feeding the sequence to OEIS
I get http://www.research.att.com/~njas/sequences/A088858 as answer.
This sequence does restrict to positive elements of the Lucas sequence.


Or did I (again) misunderstand the topic?

Regards,
Peter





More information about the SeqFan mailing list