login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A347366 Primes that are partial sums of the semiprimes. 1
19, 29, 43, 79, 101, 331, 647, 709, 2039, 4723, 5261, 5827, 10271, 11057, 12163, 12743, 20183, 22039, 22807, 25999, 30319, 33563, 44777, 45319, 56843, 60623, 61927, 73583, 83077, 108013, 133447, 142183, 159541, 182659, 191833, 204803, 214463, 215689, 248789, 266239, 292573, 302593, 314339, 318823 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(3) = 43 is a term because 43 = A062198(5) is prime.
MAPLE
SP:= select(t -> numtheory:-bigomega(t) = 2, [$2..10000]):
PSSP:= ListTools:-PartialSums(SP):
select(isprime, PSSP);
MATHEMATICA
Select[Accumulate @ Select[Range[1500], PrimeOmega[#] == 2 &], PrimeQ] (* Amiram Eldar, Aug 29 2021 *)
PROG
(Python)
from sympy import factorint, isprime
def aupto(limit):
alst, k, s = [], 1, 0
for k in range(1, limit+1):
if sum(factorint(k).values()) == 2:
s += k
if s > limit: break
if isprime(s): alst.append(s)
return alst
print(aupto(320000)) # Michael S. Branicky, Aug 29 2021
CROSSREFS
Primes in A062198. Cf. A001358.
Sequence in context: A046120 A063644 A156782 * A092600 A106124 A062679
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Aug 29 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 02:28 EDT 2024. Contains 371917 sequences. (Running on oeis4.)