a(n) is the smallest k >= 2 such that k^(2^n)+1 is prime, or -1 if no such k exists.

A056993

a(n) is the smallest k >= 2 such that k^(2^n)+1 is prime, or -1 if no such k exists.

Terms

    a(0) =2a(1) =2a(2) =2a(3) =2a(4) =2a(5) =30a(6) =102a(7) =120a(8) =278a(9) =46a(10) =824a(11) =150a(12) =1534a(13) =30406a(14) =67234a(15) =70906a(16) =48594a(17) =62722a(18) =24518a(19) =75898a(20) =919444a(21) =2524190

External references