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.

This page as a plain text file.
%I A157977 #17 Sep 08 2022 08:45:42
%S A157977 2,3,11,17,23,29,41,71,101,149,167,233,239,251,263,269,281,293,317,
%T A157977 347,353,401,449,461,491,503,557,563,569,647,683,743,797,857,941,947,
%U A157977 953,977,1019,1031,1091,1103,1151,1163,1193,1217,1283,1289,1319,1361,1373
%N A157977 Primes p such that 20*p + 19 is also prime.
%H A157977 Vincenzo Librandi, <a href="/A157977/b157977.txt">Table of n, a(n) for n = 1..2000</a>
%t A157977 q=19;lst={};Do[p=Prime[n];If[PrimeQ[(q+1)*p+q],AppendTo[lst,p]],{n,6!}];lst
%t A157977 Select[Prime[Range[250]],PrimeQ[20#+19]&] (* _Harvey P. Dale_, Jul 04 2011 *)
%o A157977 (Magma) [n: n in [0..2000] | IsPrime(n) and IsPrime(20*n + 19)]; // _Vincenzo Librandi_, Feb 03 2014
%Y A157977 Cf. A136082, A136083, A023213, A023221, A023235, A023240, A157974, A136083, A136084, A136085, A136086, A136087, A089440, A157975, A157976.
%K A157977 nonn,easy
%O A157977 1,1
%A A157977 _Vladimir Joseph Stephan Orlovsky_, Mar 10 2009