cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A046303 Product of 5 successive primes.

Original entry on oeis.org

2310, 15015, 85085, 323323, 1062347, 2800733, 6678671, 14535931, 31367009, 58642669, 95041567, 162490421, 259106347, 385499687, 600662303, 907383479, 1249792339, 1673450759, 2276990377, 3024658859, 4132280413, 5717264681
Offset: 1

Views

Author

Patrick De Geest, Jun 15 1998

Keywords

Crossrefs

Programs

  • Magma
    [&*[ NthPrime(n+k): k in [0..4] ]: n in [1..22]];  // Bruno Berselli, Feb 25 2011
    
  • Mathematica
    lst={};Do[p0=Prime[n];p1=Prime[n+1];p2=Prime[n+2];p3=Prime[n+3];p4=Prime[n+4];a=p0*p1*p2*p3*p4;AppendTo[lst,a],{n,5!}];lst (* Vladimir Joseph Stephan Orlovsky, Mar 10 2009 *)
    Times@@@Partition[Prime[Range[200]],5,1] (* Harvey P. Dale, Oct 21 2011 *)
  • PARI
    first(n)=my(P=primes(n+4)); vector(n,i,prod(j=i,i+4,P[j])) \\ Charles R Greathouse IV, Jun 27 2019

Formula

a(n) = Product_{j=n..n+4} prime(j). - Jon E. Schoenfield, Jan 07 2015
a(n) ~ (n log n)^5. - Charles R Greathouse IV, Jun 27 2019