Palindromic primes: Difference between revisions
woops
(Add Factor) |
(woops) |
||
Line 7:
=={{header|Factor}}==
===Simple===
A simple solution that suffices for the task:
{{works with|Factor|0.99 2021-02-05}}
Line 35 ⟶ 36:
929
</pre>
===Fast===
A much more efficient solution that generates palindromic numbers directly and filters primes from them:
{{works with|Factor|0.99 2021-02-05}}
<lang factor>USING: io kernel lists lists.lazy math math.functions
|