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.

A252091 Primes p such that p + 34 is prime.

Original entry on oeis.org

3, 7, 13, 19, 37, 67, 73, 79, 97, 103, 139, 157, 163, 193, 199, 223, 229, 277, 283, 313, 349, 367, 397, 409, 433, 457, 487, 523, 607, 613, 619, 643, 709, 727, 739, 787, 823, 829, 853, 877, 907, 919, 937, 997, 1063, 1069, 1117, 1129, 1153, 1249, 1327, 1399, 1447
Offset: 1

Views

Author

Vincenzo Librandi, Dec 15 2014

Keywords

Examples

			19 is in this sequence because 19+34 = 53 is prime.
433 is in this sequence because 433+34 = 467 is prime.
		

Programs

  • Magma
    [NthPrime(n): n in [1..300] | IsPrime(NthPrime(n)+34)];
    
  • Mathematica
    Select[Prime[Range[300]], PrimeQ[# + 34] &]
  • PARI
    lista(nn) = {forprime(p=2, nn, if (isprime(p+34), print1(p, ", ")););} \\ Michel Marcus, Dec 15 2014