OFFSET
1,1
EXAMPLE
14 is a term: 2^14-1 = 16383 = 3*43*127 and 2^14+1 = 16385 = 5*29*113.
MAPLE
q:= n-> andmap(x-> ifactors(x)[2][.., 2]=[1$3], [2^n-1, 2^n+1]):
select(q, [$1..200])[]; # Alois P. Heinz, Oct 17 2025
MATHEMATICA
Select[Range[180], AllTrue[2^# + {-1, 1}, And[SquareFreeQ[#], PrimeNu[#] == 3] &] &]
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Michael De Vlieger, Oct 17 2025
EXTENSIONS
a(8)-a(16) from Amiram Eldar, Oct 17 2025
STATUS
approved
