VOOZH
about
URL: https://oeis.org/A346382
⇱ A346382 - OEIS
login
A346382
Smallest k such that sum of first k primes has exactly n distinct prime divisors.
2
1, 3, 13, 53, 179, 983, 2561, 14941, 102269, 1213033, 5995117, 42509945, 331637747, 8089546229, 32698035787
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,2
LINKS
Table of n, a(n) for n=1..15.
EXAMPLE
The sum of first 3 primes 2+3+5 = 10 has exactly 2 distinct prime divisors, 3 is the smallest prime with this property, so that a(2) = 3.
PROG
(PARI) a(n) = my(k=1); while (omega(sum(i=1, k, prime(i))) != n, k++); k; \\
Michel Marcus
, Jul 15 2021
CROSSREFS
Cf.
A001221
,
A002110
,
A005179
,
A007504
,
A345976
,
A345977
.
Sequence in context:
A082376
A065059
A198584
*
A342815
A072197
A065838
Adjacent sequences:
A346379
A346380
A346381
*
A346383
A346384
A346385
KEYWORD
nonn
,
more
AUTHOR
Metin Sariyar
, Jul 14 2021
EXTENSIONS
a(12)-a(15) from
Martin Ehrenstein
, Jul 17 2021
STATUS
approved