Sequence of primes by trial division: Difference between revisions
Sequence of primes by trial division (view source)
Revision as of 19:04, 8 September 2023
, 8 months ago→{{header|EasyLang}}
VincentARM (talk | contribs) (add task to arm assembly raspberry pi) |
|||
Line 947:
=={{header|EasyLang}}==
<syntaxhighlight lang="easylang">
func prime n .
break 1▼
.
i = 3
if num mod 2 = 0 and num > 2▼
while i <=
.
.
.
proc
for i = first to last
.
.
.
print seq[]
</syntaxhighlight>
|