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.

A166449 Primes in A166448.

Original entry on oeis.org

3, 71, 379, 1367, 2741, 6599, 11593, 13093, 13879, 22027, 46183, 70237, 72173, 76123, 104347, 106721, 109141, 134741, 145949, 191749, 225829, 236659, 271057, 275047, 279047, 283079, 303689, 360977, 374953, 403607, 438527, 469969, 507821
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Clear[lst,n,a,b]; a=0;lst={};Do[a+=Prime[n];b=a-Prime[n+1];If[PrimeQ[b],AppendTo[lst,b]],{n,7!}];lst
  • PARI
    v=List();s=2;p=2;forprime(q=3,1e6,if(isprime(s-q),listput(v,s-q));s+=q;p=q);v=Vec(v) \\ Charles R Greathouse IV, Feb 24 2011