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.

A161725 Primes p such that also p+30 and p-30 are primes.

This page as a plain text file.
%I A161725 #16 Feb 03 2024 00:54:43
%S A161725 37,41,43,53,59,67,71,73,83,97,101,109,127,137,167,181,193,197,211,
%T A161725 227,241,263,281,307,337,367,379,389,409,419,431,449,461,479,491,571,
%U A161725 577,587,601,617,631,643,647,661,739,757,827,853,857,907,911,937,941,967
%N A161725 Primes p such that also p+30 and p-30 are primes.
%H A161725 Daniel Starodubtsev, <a href="/A161725/b161725.txt">Table of n, a(n) for n = 1..10000</a>
%e A161725 The prime p=37 is in the sequence because 37-30=7 and 37+30=67 are also primes.
%t A161725 q=6*5; lst={}; Do[p=Prime[n]; If[PrimeQ[p-q] && PrimeQ[p+q], AppendTo[lst,p]], {n, 5000}]; lst
%Y A161725 Cf. A006489, A137796, A161723, A161724, A052243.
%K A161725 nonn
%O A161725 1,1
%A A161725 _Vladimir Joseph Stephan Orlovsky_, Jun 17 2009
%E A161725 Definition edited by _Emeric Deutsch_, Jun 28 2009