Meissel–Mertens constant: Difference between revisions
added Raku programming solution
(→{{header|J}}: Up precision & formatting) |
(added Raku programming solution) |
||
Line 535:
{{out}}
<pre>MM = 0.26149721577764207</pre>
=={{header|Raku}}==
{{trans|FreeBASIC}}
<syntaxhighlight lang="raku"># 20221011 Raku programming solution
raku -e 'loop ($_=2,my $s;;.++) { .is-prime and $s += log(1-1/$_)+1/$_; say $s+.57721566490153286 and exit if $_ > 1e8 }'
0.26149721310571383
</syntaxhighlight>
=={{header|Wren}}==
|