Primes which contain only one odd digit: Difference between revisions
Primes which contain only one odd digit (view source)
Revision as of 09:39, 29 July 2021
, 2 years ago→stretch: ahem, I meant 40*above, <2* without skipping.
(→stretch: ahem, I meant 40*above, <2* without skipping.) |
|||
Line 259:
</pre>
=== stretch ===
Fast skip from 11 direct to 20+, from 101 direct to 200+, etc. Around forty times faster than the above would be, but less than twice as fast as it would be without such skipping.
<!--<lang Phix>(phixonline)-->
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span>
|