Generalized Fermat numbers