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.

A023230 Numbers k such that k and 8*k + 5 are both prime.

This page as a plain text file.
%I A023230 #23 Sep 08 2022 08:44:47
%S A023230 3,7,13,19,43,67,103,109,127,139,151,181,193,199,211,223,241,277,283,
%T A023230 349,379,397,421,433,439,463,577,601,607,613,619,727,733,787,829,853,
%U A023230 883,967,991,1033,1039,1117,1201,1237,1291,1303,1399,1429,1459,1531,1567,1579
%N A023230 Numbers k such that k and 8*k + 5 are both prime.
%H A023230 Vincenzo Librandi, <a href="/A023230/b023230.txt">Table of n, a(n) for n = 1..1000</a>
%t A023230 lst={}; Do[p=Prime[n]; If[PrimeQ[8*p+5],AppendTo[lst,p]],{n,6!}]; lst (* _Vladimir Joseph Stephan Orlovsky_, Aug 16 2009 *)
%t A023230 Select[Prime [Range[0, 300]], PrimeQ[8# + 5] &] (* _Vincenzo Librandi_, Sep 25 2012 *)
%o A023230 (Magma) [ p: p in PrimesUpTo(1580) | IsPrime(8*p+5) ]; // _Klaus Brockhaus_, Dec 21 2008
%o A023230 (PARI) select(p->isprime(8*p+5),primes(1000)) \\ _Charles R Greathouse IV_, Sep 25 2012
%Y A023230 Cf. A007521 (primes of form 8n+5), A105133 (numbers n such that 8n+5 is prime).
%K A023230 nonn,easy
%O A023230 1,1
%A A023230 _David W. Wilson_