Primes: n*2^m+1: Difference between revisions
m
oops. correct range.
Thundergnat (talk | contribs) m (clarify slightly) |
Thundergnat (talk | contribs) m (oops. correct range.) |
||
Line 1:
;Task
* Find and display the first 45 ('''n''') primes of the form '''n × 2<sup>m</sup> + 1''' where '''m''' is the smallest valid
;Stretch
* Find and display the first 50 ('''n''') primes of the form '''n × 2<sup>m</sup> + 1''' where '''m''' is the smallest valid
;Stretch harder
* Find and display the first 400 ('''n''') primes of the form '''n × 2<sup>m</sup> + 1''' where '''m''' is the smallest valid
|