Algorithm: adding PrimeSequence