Problem 3770 · Medium

Largest Prime from Consecutive Prime Sum

Add consecutive primes starting from 2, and keep the largest running sum that is itself prime and at most n.

Open the interactive visualisation