OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For m = 18: gcd(262143, 324) = 27 is not a square number, so 18 is a term.
MATHEMATICA
Select[Range[1000], !IntegerQ[Sqrt[GCD[2^#-1, #^2]]] &]
PROG
(PARI) isok(m) = !issquare(gcd(2^m-1, m^2)); \\ Michel Marcus, Aug 27 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Sep 22 2003
STATUS
approved