Prime reciprocal sum: Difference between revisions

m
→‎{{header|J}}: reiterate the algorithm as a brief comment
m (moved)
m (→‎{{header|J}}: reiterate the algorithm as a brief comment)
Line 138:
11390125639471674628..31060548964273180103 (2358 digits)
</syntaxhighlight>
 
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.
 
=={{header|Julia}}==
<syntaxhighlight lang="julia">""" rosettacode.org/wiki/Prime_reciprocal_sum """
6,951

edits