login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A378122
a(n) = number of prime divisors of the sum of the first n primes.
1
1, 1, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 3, 2, 2, 2, 2, 2, 3, 2, 3, 2, 2, 2, 3, 2, 3, 2, 3, 2, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 2, 4, 2, 2, 3, 4, 2, 2, 1, 3, 2, 3, 1, 2, 2, 3, 3, 3, 3, 3, 2, 3, 2, 2, 3, 4, 2, 3, 3, 2, 2, 2, 4, 3, 3
OFFSET
1,3
EXAMPLE
2+3+5+7+11 = 28 = 2*2*7, so a(5) = 2.
MATHEMATICA
a[n_] := PrimeNu[Total[Prime[Range[n]]]]; Array[a, 500]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 17 2024
STATUS
approved