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.

A155006 Primes p such that (p-2)*(p+2)-+2*p are primes.

This page as a plain text file.
%I A155006 #7 Jan 01 2025 13:45:27
%S A155006 5,7,13,23,37,43,73,167,233,263,433,557,587,593,607,727,857,1153,1597,
%T A155006 1627,1753,2143,2663,2713,3433,3607,3863,3947,4027,4363,4423,4673,
%U A155006 5147,5477,5623,5807,5903,6277,7237,7333,7577,8287,8647,8837,8887,9043,10067
%N A155006 Primes p such that (p-2)*(p+2)-+2*p are primes.
%C A155006 3*7-10=11, 3*7+10=31,...
%H A155006 Harvey P. Dale, <a href="/A155006/b155006.txt">Table of n, a(n) for n = 1..1000</a>
%t A155006 lst={};Do[p=Prime[n];If[PrimeQ[(p-2)*(p+2)-2*p]&&PrimeQ[(p-2)*(p+2)+2*p],AppendTo[lst,p]],{n,7!}];lst
%t A155006 Select[Prime[Range[1500]],AllTrue[(#-2)(#+2)+{2#,-2#},PrimeQ]&] (* _Harvey P. Dale_, Jan 01 2025 *)
%Y A155006 Cf. A125272, A053184, A038872, A141158, A038615, A098058, A038936, A089270, A140559, A154939
%K A155006 nonn
%O A155006 1,1
%A A155006 _Vladimir Joseph Stephan Orlovsky_, Jan 18 2009