[seqfan] Re: Second program for A090076

W. Edwin Clark wclark at mail.usf.edu
Sun Sep 2 22:30:23 CEST 2012


Probably SAGE judging from this link found by a search on the
command   primes_first_n
http://www.sagemath.org/doc/constructions/number_theory.html
I also see that Lajos has several  programs labeled sage in the OEIS.

On Sun, Sep 2, 2012 at 3:51 PM, Alonso Del Arte <alonso.delarte at gmail.com>wrote:

> Does anyone know what computer programming language or algebra system the
> second program in A090076 is for?
>
> def prime_gaps(n): primegaps = [] nprimes = primes_first_n(n+1) for i in
> range(2, n+1): primegaps.append(nprimes[i]*nprimes[i-2]) return primegaps
> print prime_gaps(60) - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jul
> 08 2008
>
> It is preceded by a MuPad program.
>
> Al
>
> --
> Alonso del Arte
> Author at SmashWords.com<
> https://www.smashwords.com/profile/view/AlonsoDelarte>
> Musician at ReverbNation.com <http://www.reverbnation.com/alonsodelarte>
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>



More information about the SeqFan mailing list