Prime reciprocal sum: Difference between revisions

m
m (→‎{{header|J}}: reiterate the algorithm as a brief comment)
Line 140:
 
Here, <code>+/@:%</code> is the sum of reciprocals, so <code>1%1-+/@:%</code> is the reciprocal of the amount remaining, and <code>4 p:1%1-+/@:%</code> is the smallest prime which is larger than that value.
 
Tested in J9.4
 
=={{header|Julia}}==
6,951

edits