OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
EXAMPLE
a(6) = gcd(2^6 - 1,6^2) = gcd(64-1,36) = 9.
MAPLE
seq(gcd(2^n-1, n^2), n=1..120); # Muniru A Asiru, Sep 22 2018
PROG
(PARI) A087966(n) = gcd((2^n)-1, n^2); \\ Antti Karttunen, Sep 22 2018
(GAP) List([1..120], n->Gcd(2^n-1, n^2)); # Muniru A Asiru, Sep 22 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Sep 22 2003
STATUS
approved