Wolstenholme numbers: Difference between revisions
→{{header|J}}: stretch
m (→{{header|Python}}: typo in comment) |
(→{{header|J}}: stretch) |
||
Line 243:
5 266681 40799043101 86364397717734821
</syntaxhighlight>
Stretch:
<syntaxhighlight lang="J"> W=: WolstenholmeSeq 1e4
#@":@> (<:500 1000 2500 5000 10000) { W
434 866 2164 4340 8693
#WP=: W#~ 1 p: W
23
#@":@> 4 5$WP
1 6 11 17 104
156 218 318 520 649
935 984 1202 1518 1539
1770 1811 2556 2762 2769</syntaxhighlight>
=={{header|Phix}}==
|