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.

A080375 Distinct values of A080374, where A080374(n) is the lcm of the first n consecutive prime differences.

Original entry on oeis.org

1, 2, 4, 12, 24, 168, 840, 2520, 27720, 471240, 942480, 12252240, 24504480, 465585120, 2327925600, 72165693600, 216497080800, 6278415343200, 144403552893600, 288807105787200, 12418705548849600, 509166927502833600, 18839176317604843200, 131874234223233902400, 6989334413831396827200, 328498717450075650878400
Offset: 1

Views

Author

Labos Elemer, Feb 27 2003

Keywords

Crossrefs

Programs

  • Mathematica
    s=1; Do[s1=s; s=LCM[s, Prime[n+1]-Prime[n]]; If[Greater[s, s1], Print[s]], {n, 1, 100000}]
    Module[{nn=100000,dprs},dprs=Differences[Prime[Range[nn]]];Table[LCM@@ Take[ dprs,n],{n,nn-1}]]//Union (* Harvey P. Dale, Nov 06 2021 *)

Extensions

More terms from Harvey P. Dale, Nov 06 2021