A140600 Grand totals of prime factors in composite runs between two primes.
2, 5, 5, 19, 5, 37, 83, 79, 59, 5, 53, 167, 5, 67, 179, 5, 239, 277, 263, 701, 479, 43, 439, 349, 17, 5, 281, 23, 29, 367, 397, 947, 1129, 29, 887, 739, 17, 149, 769, 5, 1361, 53, 43, 857, 1723, 29, 1861, 37, 2111, 53, 857, 983, 1699, 23, 907, 599, 1283, 29, 281, 23, 499
Offset: 1
Examples
In a(6) the grand total is 37 because that is the prime sum of all the prime factors of composites in the composite run beginning at 24 (between primes 23 and 29).
Crossrefs
Cf. A140599.
Formula
Compute composite runs between two primes. If the grand total of prime factors in each run is also prime, add the prime grand total to the sequence.
Comments