Primes: n*2^m+1: Difference between revisions

m
clarify slightly
m (clarify slightly)
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 positive integer.
 
 
;Stretch
* Find and display the first 50 ('''n''') primes of the form '''n × 2<sup>m</sup> + 1''' where '''m''' is the smallest valid positive integer.
 
 
;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 positive integer.
 
 
10,333

edits