10001th prime: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 660: | Line 660: | ||
<syntaxhighlight lang="pascal"> |
<syntaxhighlight lang="pascal"> |
||
Prime(10001); |
Prime(10001); |
||
⚫ | |||
{{out}}<pre>104743</pre> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}}<pre>104743</pre> |
{{out}}<pre>104743</pre> |
||
Line 951: | Line 914: | ||
<syntaxhighlight lang="parigp">prime(10001)</syntaxhighlight> |
<syntaxhighlight lang="parigp">prime(10001)</syntaxhighlight> |
||
{{out}}<pre>%1 = 104743</pre> |
{{out}}<pre>%1 = 104743</pre> |
||
⚫ | |||
==={{header|Free Pascal}}=== |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{out}} |
|||
<pre> |
|||
104743 |
|||
</pre> |
|||
=={{header|Perl}}== |
=={{header|Perl}}== |