โ† UBS questions

Sum of first n primes

Filed under UBS

The question

Write code to calculate the sum of the first n prime numbers.

No write-up yet. Related questions below have one.

Related UBS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.