Generating Fermat primes – codegolf.stackexchange.com

Given a number n, print the nth prime Fermat number, where the Fermat numbers are of the form 22n+1. This code should theoretically work for any n (i.e. don't hardcode it), although it is not expected ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Generating Fermat primes – codegolf.stackexchange.com"