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.

Showing 1-3 of 3 results.

A066269 Indices of primes in A066268.

Original entry on oeis.org

2, 3, 33
Offset: 1

Views

Author

Patrick De Geest, Dec 16 2001

Keywords

Comments

The 33rd term, prime 16268...99999, contains 759 digits.
Next term is bigger than 150. - Stefan Steinerberger, May 06 2007
Next term is bigger than 450. - Michael S. Branicky, Nov 14 2024

Crossrefs

Programs

  • Mathematica
    Select[Range[65], PrimeQ[Product[Product[Prime[i],{i,1,n}],{n,1,#}]-1]&] (* Stefan Steinerberger, Apr 12 2006 *)

Extensions

Offset changed from 0 to 1 by Harry J. Smith, Feb 08 2010

A066266 Product of first n primorials + 1.

Original entry on oeis.org

3, 13, 361, 75601, 174636001, 5244319080001, 2677277333530800001, 25968760179275365452000001, 5793445238736255798985527240000001, 37481813439427687898244906452608585200000001, 7517370874372838151564668004911177464757864076000000001
Offset: 1

Views

Author

Patrick De Geest, Dec 16 2001

Keywords

Examples

			a(3)=361 since 361 = (2)*(2*3)*(2*3*5) + 1.
		

Crossrefs

Programs

  • Mathematica
    Table[Times@@Table[Times@@Prime[Range[n]],{n,k}]+1,{k,40}] (* Jayanta Basu, May 12 2013 *)
    Rest[FoldList[Times,1,Rest[FoldList[Times,1,Prime[Range[10]]]]]]+1 (* Harvey P. Dale, Sep 16 2013 *)
  • PARI
    a(n) = 1 + prod(k=1, n, prime(k)^(n-k+1)) \\ Andrew Howroyd, Dec 10 2024

Formula

a(n) = A006939(n) + 1. - Andrew Howroyd, Dec 10 2024

Extensions

Offset changed from 0 to 1 by Harry J. Smith, Feb 08 2010

A066268 Product of first n primorials - 1.

Original entry on oeis.org

1, 11, 359, 75599, 174635999, 5244319079999, 2677277333530799999, 25968760179275365451999999, 5793445238736255798985527239999999, 37481813439427687898244906452608585199999999, 7517370874372838151564668004911177464757864075999999999
Offset: 1

Views

Author

Patrick De Geest, Dec 16 2001

Keywords

Examples

			a(3) = (2)*(2*3)*(2*3*5) - 1 = 359.
		

Crossrefs

Programs

  • Mathematica
    Table[Times@@Table[Times@@Prime[Range[n]],{n,k}]-1,{k,40}]
    (* or *)
    pr2=1; Table[pr1=1; Do[pr1=pr1*Prime[n],{n,k}]; pr2=pr2*pr1; pr2-1,{k,40}] (* Jayanta Basu, May 12 2013 *)
  • PARI
    a(n) = -1 + prod(k=1, n, prime(k)^(n-k+1)) \\ Andrew Howroyd, Dec 10 2024

Formula

a(n) = A006939(n) - 1. - Andrew Howroyd, Dec 10 2024

Extensions

Offset changed from 0 to 1 by Harry J. Smith, Feb 08 2010
Showing 1-3 of 3 results.