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.

A374591 Even numbers that can be written as the sum of two isolated primes (A007510).

Original entry on oeis.org

4, 46, 60, 70, 74, 76, 84, 90, 94, 100, 102, 104, 106, 112, 114, 116, 120, 126, 130, 132, 134, 136, 142, 144, 146, 150, 154, 156, 158, 160, 162, 164, 166, 168, 172, 174, 176, 178, 180, 184, 186, 190, 192, 194, 196, 198, 200, 202, 204, 206, 210, 214, 216, 220
Offset: 1

Views

Author

Marc Groz, Jul 12 2024

Keywords

Examples

			4 = 2 + 2 is a term, as 2 is the smallest isolated prime.
60 = 23 + 37 is the smallest term that is the sum of two distinct isolated primes.
		

Crossrefs

Cf. A007510.

Programs

  • Mathematica
    Lim=220;ip=Select[Prime[Range[Lim]], NoneTrue[#+{2, -2}, PrimeQ]&] ;ipp[a_]:={a,a};Select[Union[Total/@Join[ipp/@ip,Subsets[ip,{2}]]],EvenQ[#]&&#<=Lim&] (* James C. McMahon, Aug 10 2024 *)