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.

Showing 1-2 of 2 results.

A084564 Even numbers having no more than four partitions into two odd primes.

Original entry on oeis.org

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 50, 52, 56, 58, 62, 68, 80, 88, 92, 98, 122, 128, 152
Offset: 1

Views

Author

Reinhard Zumkeller, May 30 2003

Keywords

Comments

A002375(a(n)/2) <= 4.
Almost certainly there are no further terms. - David Wasserman, Dec 30 2004

Crossrefs

A140955 Even integers that do not have at least two partitions into 2 distinct primes.

Original entry on oeis.org

0, 2, 4, 6, 8, 10, 12, 14, 38
Offset: 1

Views

Author

Gil Broussard, Jul 25 2008

Keywords

Comments

If A056636(3) = 128 (as is conjectured), then 38 is the last term in the sequence. - Charles R Greathouse IV, Sep 07 2022

Examples

			8 is a term because 3+5 is the only sum of primes = 8.
16 is not in the sequence because 16 = 3+13 and 5+11.
The only ways to express 10 as a sum of two unordered primes are 3+7 and 5+5. In one of the sums the primes are distinct. Thus, 10 is in this sequence. - _Tanya Khovanova_, Sep 07 2022
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0,100,2],Length[Select[Union/@IntegerPartitions[#,{2}],AllTrue[#,PrimeQ]&&Length[#]==2&]]<2&] (* James C. McMahon, Jul 15 2025 *)
  • PARI
    is(n)=if(n%2, return(0)); my(t); forprime(p=3, n\2-1, if(isprime(n-p) && t++>1, return(0))); 1 \\ Charles R Greathouse IV, Sep 07 2022

Extensions

Offset changed to 1 by Alois P. Heinz, Sep 07 2022
Showing 1-2 of 2 results.