OFFSET
1,1
FORMULA
Compute prime factors (without multiplicity) of consecutive composite N. Maintain a running sum of these prime factors. Whenever the running total at N is prime, add to the sequence.
EXAMPLE
a(2)=7 because when N=6 the sum of composite prime factors is 7 and this total is prime (nonprime totals are not in this sequence). The prime factor (without multiplicity) of the first composite 4 is 2; the second composite is 6 with prime factors 3 and 2, so 2+2+3=7, the prime sum of prime factors at N=6.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, May 19 2008
STATUS
approved