Sum of primes in odd positions is prime: Difference between revisions
Sum of primes in odd positions is prime (view source)
Revision as of 15:05, 1 September 2021
, 2 years agono edit summary
No edit summary |
|||
Line 5:
<br>Consider the '''p(1),p(3),p(5), ... ,p(i)''', for each '''p(i) < 1,000''' and '''i''' is odd.
<br>Let '''sum''' be the sum of these primes.
<br>If '''sum''' is prime then print '''i''', '''p(i)''' and '''sum'''.
<br><br>
|