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.

A128940 List of triples of primes with common difference 6.

This page as a plain text file.
%I A128940 #7 Jan 19 2019 04:14:58
%S A128940 47,53,59,151,157,163,167,173,179,251,257,263,257,263,269,367,373,379,
%T A128940 557,563,569,587,593,599,601,607,613,647,653,659,727,733,739,941,947,
%U A128940 953,971,977,983,1097,1103,1109,1117,1123,1129,1181,1187,1193
%N A128940 List of triples of primes with common difference 6.
%H A128940 Harvey P. Dale, <a href="/A128940/b128940.txt">Table of n, a(n) for n = 0..1001</a>
%e A128940 47, 53, 59
%e A128940 151, 157, 163
%e A128940 167, 173, 179
%e A128940 .....
%p A128940 for i from 1 by 1 to 400 do if ithprime(i+1) = ithprime(i) + 6 and ithprime(i+2) = ithprime(i) + 12 then print(ithprime(i),ithprime(i+1),ithprime(i+2)); fi; od;
%t A128940 Select[Partition[Prime[Range[200]],3,1],Differences[#]=={6,6}&]//Flatten (* _Harvey P. Dale_, Dec 09 2018 *)
%K A128940 nonn
%O A128940 0,1
%A A128940 _Zerinvary Lajos_, Apr 27 2007