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.

A054775 Positive multiples of 6 which are not the midpoint of a pair of twin primes.

Original entry on oeis.org

24, 36, 48, 54, 66, 78, 84, 90, 96, 114, 120, 126, 132, 144, 156, 162, 168, 174, 186, 204, 210, 216, 222, 234, 246, 252, 258, 264, 276, 288, 294, 300, 306, 318, 324, 330, 336, 342, 354, 360, 366, 372, 378, 384, 390, 396, 402, 408, 414, 426, 438, 444, 450, 456, 468, 474
Offset: 1

Views

Author

Stuart M. Ellerstein (ellerstein(AT)aol.com), May 19 2000

Keywords

Crossrefs

Cf. A067611 (sequence divided by 6).

Programs

  • Magma
    [ n: n in [6..600 by 6] | not IsPrime(n-1) or not IsPrime(n+1) ];  // Klaus Brockhaus, Aug 18 2010
    
  • PARI
    forstep(n=6,600,6,if(!(isprime(n-1)&&isprime(n+1)),print1(n,","))) \\ Klaus Brockhaus, Aug 18 2010

Extensions

Corrected by Zak Seidov and Klaus Brockhaus, Aug 18 2010
Edited by N. J. A. Sloane, Aug 19 2010