Sequence: nth number with exactly n divisors: Difference between revisions

→‎{{header|Go}}: Oops, wrong timing.
(→‎{{header|Go}}: Added faster version.)
(→‎{{header|Go}}: Oops, wrong timing.)
Line 141:
</pre>
 
The following much faster version (runs in less than 3090 seconds on my 1.6GHz Celeron) uses three further optimizations:
 
1. Apart from the 2nd and 10th terms, all the even terms are themselves even.
9,490

edits