Search a number
magnanimous n.  and  Proth n.

First numbers that belong to both sets:

25, 41, 49, 65, 209, 449, 26881.