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.

A046302 Products of 4 successive primes.

Original entry on oeis.org

210, 1155, 5005, 17017, 46189, 96577, 215441, 392863, 765049, 1363783, 2022161, 3065857, 4391633, 6319667, 8965109, 12780049, 17120443, 21182921, 27433619, 33984931, 42600829, 56606581, 72370439, 89809099, 107972737, 121330189
Offset: 1

Views

Author

Patrick De Geest, Jun 15 1998

Keywords

Crossrefs

Programs

  • Magma
    [&*[ NthPrime(n+k): k in [0..3] ]: n in [1..26] ]; // Bruno Berselli, Feb 25 2011
  • Mathematica
    lst={};Do[p0=Prime[n];p1=Prime[n+1];p2=Prime[n+2];p3=Prime[n+3];a=p0*p1*p2*p3;AppendTo[lst,a],{n,5!}];lst (* Vladimir Joseph Stephan Orlovsky, Mar 10 2009 *)
    Times@@@Partition[Prime[Range[50]],4,1] (* Harvey P. Dale, Sep 19 2011 *)

Formula

a(n) = Product_{j=n..n+3} prime(j). - Jon E. Schoenfield, Jan 07 2015

Extensions

Offset changed from 0 to 1 by Vincenzo Librandi, Jan 16 2012