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.

A035793 Start of a string of exactly 5 consecutive (but disjoint) pairs of twin primes.

Original entry on oeis.org

909287, 2596619, 9617981, 12628337, 18873497, 21579629, 25739771, 34140077, 39433367, 62832101, 67369397, 84733211, 90122507, 102243017, 132826607, 140456711, 142749149, 180929687, 201057539, 212461979, 219970547, 228001649
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    lst={};Do[p0=Prime[n];p1=Prime[n+1];p2=Prime[n+2];p3=Prime[n+3];p4=Prime[n+4];p5=Prime[n+5];p6=Prime[n+6];p7=Prime[n+7];p8=Prime[n+8];p9=Prime[n+9];If[p1-p0==p3-p2==p5-p4==p7-p6==p9-p8==2,AppendTo[lst,p0]],{n,10!}];lst (* Vladimir Joseph Stephan Orlovsky, Apr 02 2010 *)

Extensions

a(11)-a(22) from Hugo Pfoertner, Sep 16 2003
Offset corrected by Arkadiusz Wesolowski, May 06 2012