You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2><ahref="https://leetcode.com/problems/largest-prime-from-consecutive-prime-sum">4085. Largest Prime from Consecutive Prime Sum</a></h2><h3>Medium</h3><hr><p>You are given an integer <code>n</code>.</p>
2
+
3
+
<p>Return the <strong>largest <spandata-keyword="prime-number">prime number</span></strong> less than or equal to <code>n</code> that can be expressed as the <strong>sum</strong> of one or more <strong>consecutive prime numbers</strong> starting from 2. If no such number exists, return 0.</p>
0 commit comments