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.

A157977 Primes p such that 20*p + 19 is also prime.

Original entry on oeis.org

2, 3, 11, 17, 23, 29, 41, 71, 101, 149, 167, 233, 239, 251, 263, 269, 281, 293, 317, 347, 353, 401, 449, 461, 491, 503, 557, 563, 569, 647, 683, 743, 797, 857, 941, 947, 953, 977, 1019, 1031, 1091, 1103, 1151, 1163, 1193, 1217, 1283, 1289, 1319, 1361, 1373
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [n: n in [0..2000] | IsPrime(n) and IsPrime(20*n + 19)]; // Vincenzo Librandi, Feb 03 2014
  • Mathematica
    q=19;lst={};Do[p=Prime[n];If[PrimeQ[(q+1)*p+q],AppendTo[lst,p]],{n,6!}];lst
    Select[Prime[Range[250]],PrimeQ[20#+19]&] (* Harvey P. Dale, Jul 04 2011 *)