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.

A174242 Least of 3 consecutive integers such that product of them is average of twin prime pairs.

Original entry on oeis.org

1, 3, 10, 13, 14, 20, 30, 34, 40, 44, 110, 129, 135, 139, 154, 175, 188, 220, 229, 238, 273, 315, 405, 413, 440, 464, 465, 503, 520, 560, 569, 579, 583, 590, 685, 688, 695, 758, 833, 835, 859, 868, 903, 959, 1025, 1158, 1378, 1538, 1613, 1624, 1659, 1669
Offset: 1

Views

Author

Keywords

Comments

1*2*3=6+-1 -> primes, 3*4*5=60+-1 -> primes,...

Crossrefs

Programs

  • Mathematica
    f1[n_]:=PrimeQ[n-1]&&PrimeQ[n+1];f2[n_]:=n*(n+1)*(n+2);lst={};Do[If[f1[f2[n]],AppendTo[lst,n]],{n,8!}];lst