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-1 of 1 results.

A274182 Semiprimes that are the sum of the first n odd primes for some n.

Original entry on oeis.org

15, 26, 39, 158, 326, 566, 789, 961, 1159, 1262, 1369, 1478, 1591, 1718, 1849, 2582, 3085, 3829, 4659, 5587, 7697, 8891, 10189, 13885, 14695, 16838, 17281, 18187, 19111, 20057, 22546, 24131, 25798, 26938, 27515, 28102, 35566, 36886, 38919, 41739, 43199, 50885
Offset: 1

Views

Author

K. D. Bajpai, Jun 12 2016

Keywords

Comments

The set of semiprimes in A071148.
Intersection of A001358 and A071148.

Examples

			26 appears in the sequence because 26 = 2*13 that is semiprime. Also, 3+5+7+11 = 26.
158 appears in the sequence because 158 = 2*79 that is semiprime. Also, 3+5+7+11+13+17+19+23+29+31 = 158.
		

Crossrefs

Programs

  • Maple
    P:= select(isprime,[seq(i,i=3..10^4,2)]):
    select(t -> numtheory:-bigomega(t)=2, ListTools:-PartialSums(P)); # Robert Israel, Sep 23 2019
  • Mathematica
    Select[a = 0; Table[a = a + Prime[k], {k, 2, 300}], PrimeOmega[#] == 2 &]
  • PARI
    s = 0; forprime(p=3, 1e4, s += p; if (bigomega(s)==2, print1(s, ", ")))
Showing 1-1 of 1 results.