[seqfan] Re: A214089
Jonathan Stauduhar
jstdhr at gmail.com
Tue Aug 21 17:04:42 CEST 2012
Nice work, Max!
Since I don't know PARI well, does your code check to see if a(n) is
divisible by the next highest primorial (i.e. a(n+1) = a(n))? It looks
like "forstep(s=lift(q), B-1, q.mod, if(ispseudoprime(s), B=s;" is doing
this, but I can't be sure. I was going to update my Mathematica code to
do this, but now I need to understand your algorithm before I bother to
make any changes.
Cheers,
Jonathan
On 8/21/2012 5:35 AM, Max Alekseyev wrote:
> JFYI, I've extended A214089 to first 30 terms and posted the
> corresponding PARI/GP.
> Regards,
> Max
>
> On Tue, Aug 21, 2012 at 12:29 AM, Jonathan Stauduhar<jstdhr at gmail.com> wrote:
>> Thanks, Olivier.
>>
>>
>> I finally got what I thought was an improved algorithm working. It turns
>> out it's no improvement after all.
>>
>> Thank you, T D. Noe, for cleaning up the published code!
>>
>>
>> Jonathan
>>
>> _______________________________________________
>>
>> Seqfan Mailing list - http://list.seqfan.eu/
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>
More information about the SeqFan
mailing list