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.

A282321 Lesser of twin primes congruent to 11 (mod 30).

Original entry on oeis.org

11, 41, 71, 101, 191, 281, 311, 431, 461, 521, 641, 821, 881, 1031, 1061, 1091, 1151, 1301, 1451, 1481, 1721, 1871, 1931, 2081, 2111, 2141, 2381, 2591, 2711, 2801, 3251, 3371, 3461, 3581, 3671, 3821, 3851, 4001, 4091, 4241, 4271, 4421, 4481, 4721, 4931, 5021
Offset: 1

Views

Author

Martin Renner, Feb 11 2017

Keywords

Comments

The union of [this sequence and A282322] is A132241.
The union of [{3, 5}, this sequence, A282323 and A060229] is the lesser of twin primes sequence A001359.
The union of [{3, 5, 7}, A282321 to A282326] is the twin primes sequence A001097.

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(5000) | IsPrime(p+2) and p mod 30 eq 11 ]; // Vincenzo Librandi, Feb 12 2017
    
  • Maple
    a:={}:
    for i from 1 to 1229 do
      if isprime(ithprime(i)+2) and ithprime(i) mod 30 = 11 then
        a:={op(a),ithprime(i)}:
      fi:
    od:
    a;
  • PARI
    list(lim)=my(v=List(), p=2); forprime(q=3, lim+2, if(q-p==2 && q%30==13, listput(v, p)); p=q); Vec(v) \\ Charles R Greathouse IV, Feb 14 2017