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.

A167597 The isolated nonprimes that are the sum of two successive primes.

Original entry on oeis.org

12, 18, 30, 42, 60, 138, 198, 240, 462, 600, 618, 810, 828, 882, 1230, 1290, 1320, 1428, 1482, 1620, 1668, 1722, 1878, 2088, 2112, 2688, 2970, 3330, 3390, 3768, 4002, 4092, 4242, 4260, 4482, 4518, 5100, 5280, 5418, 5502, 5520, 5652, 6090, 6198, 6300, 6450
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Nov 07 2009

Keywords

Crossrefs

Programs

  • Maple
    N:= 10000: # to get all terms <= N
    Primes:= select(isprime, [seq(i,i=3..N+1,2)]):
    A001043:= convert(Primes[1..-2] + Primes[2..-1],set):
    Primes:= convert(Primes,set):
    A:= map(`+`,Primes intersect map(`-`,Primes,2),1) intersect A001043:
    sort(convert(A,list)); # Robert Israel, Jan 18 2016

Formula

A001043 INTERSECT A014574. [R. J. Mathar, May 30 2010]

Extensions

Corrected (60 inserted, 178 replaced by 198, 462 inserted....) by R. J. Mathar, May 30 2010