A173888 Exactly one of (2^n-1)^2-2 and (2^n+1)^2-2 is prime.
0, 1, 4, 5, 6, 7, 8, 9, 10, 17, 19, 23, 25, 32, 51, 55, 65, 87, 129, 132, 159, 171, 175, 180, 242, 315, 324, 358, 393, 435, 467, 491, 501, 507, 555, 591, 680, 786, 800, 1070, 1459, 1650, 1707, 2813, 2923, 3281, 4217, 5153, 6287, 6365, 6462, 10088, 10367, 14289
Offset: 1
Keywords
Examples
a(1)=1 because (2^1-1)^2-2=-1 is nonprime and (2^1+1)^2-2=7 is prime.
Extensions
Corrected (0 inserted, 12, 16, 18, 21 removed) and extended by R. J. Mathar, Mar 09 2010
Comments