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.

A052198 Primes p such that p, p+42, p+84 are consecutive primes.

This page as a plain text file.
%I A052198 #27 Feb 28 2025 05:55:47
%S A052198 247099,689467,1008617,1629767,1658627,2024647,2750999,2811719,
%T A052198 2880907,2921777,3264449,3295027,3311317,3365449,3555269,3668419,
%U A052198 4059229,4412099,4440529,4549309,4619357,4690219,4802947,4955179,5115259
%N A052198 Primes p such that p, p+42, p+84 are consecutive primes.
%C A052198 Old name was: Primes p(k) such that p(k+2)-p(k+1)=p(k+1)-p(k)=42.
%H A052198 Amiram Eldar, <a href="/A052198/b052198.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..2000 from Zak Seidov)
%t A052198 Select[Partition[Prime[Range[400000]],3,1],Differences[#]=={42,42}&][[All,1]] (* _Harvey P. Dale_, May 28 2017 *)
%o A052198 (PARI) is_A052198(n)=nextprime(n+1)==n+42 && nextprime(n+43)==n+84 && isprime(n) \\ _Charles R Greathouse IV_, Jan 07 2013, typo corrected by _M. F. Hasler_, Jan 13 2013
%Y A052198 Cf. A001223, A033451, A047948, A052197.
%K A052198 nonn
%O A052198 1,1
%A A052198 _Labos Elemer_, Jan 28 2000
%E A052198 New name from _Charles R Greathouse IV_, Jan 07 2013