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.

A099389 Subsequence of primes in sequence b(n) = 3*prime(n) - prime(n+1) - 3 (A100021).

Original entry on oeis.org

5, 7, 17, 19, 29, 31, 37, 53, 53, 67, 79, 97, 113, 113, 127, 137, 137, 151, 157, 167, 197, 199, 211, 269, 293, 293, 337, 353, 349, 379, 389, 383, 439, 449, 457, 547, 557, 569, 607, 617, 619, 617, 653, 661, 691, 751, 757, 787, 829, 857, 857, 877, 887, 907, 919
Offset: 1

Views

Author

Giovanni Teofilatto, Nov 17 2004

Keywords

Crossrefs

Programs

  • Mathematica
    Select[3#[[1]]-#[[2]]-3&/@Partition[Prime[Range[100]],2,1],PrimeQ] (* Harvey P. Dale, Oct 13 2018 *)
  • PARI
    for(n=1,91,if(isprime(k=3*prime(n)-prime(n+1)-3),print1(k,",")))

Extensions

Edited and extended by Klaus Brockhaus, Nov 19 2004