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.

Original entry on oeis.org

47, 53, 59, 151, 157, 163, 167, 173, 179, 251, 257, 263, 257, 263, 269, 367, 373, 379, 557, 563, 569, 587, 593, 599, 601, 607, 613, 647, 653, 659, 727, 733, 739, 941, 947, 953, 971, 977, 983, 1097, 1103, 1109, 1117, 1123, 1129, 1181, 1187, 1193
Offset: 0

Views

Author

Zerinvary Lajos, Apr 27 2007

Keywords

Examples

			47, 53, 59
151, 157, 163
167, 173, 179
.....
		

Programs

  • Maple
    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;
  • Mathematica
    Select[Partition[Prime[Range[200]],3,1],Differences[#]=={6,6}&]//Flatten (* Harvey P. Dale, Dec 09 2018 *)