Primorial numbers: Difference between revisions
Content deleted Content added
Added Quackery. |
→{{header|Quackery}}: typo |
||
Line 2,444: | Line 2,444: | ||
<code>eratosthenes</code> and <code>isprime</code> are defined at [[Sieve of Eratosthenes#Quackery]]. |
<code>eratosthenes</code> and <code>isprime</code> are defined at [[Sieve of Eratosthenes#Quackery]]. |
||
<syntaxhighlight lang="Quackery"> |
<syntaxhighlight lang="Quackery"> [ 0 swap |
||
[ dip 1+ |
|||
10 / |
|||
dup 0 = until ] |
|||
drop ] is digits ( n --> n ) |
|||
[ stack ] is primorials ( --> s ) |
|||
1299710 eratosthenes |
|||
' [ 1 ] |
' [ 1 ] |