OFFSET
1,4
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = denominator((2^n - 2)/n). - Juri-Stepan Gerasimov, Sep 09 2014
MATHEMATICA
Array[Block[{k = 1}, While[! Divisible[k (2^# - 2), #], k++]; k] &, 84] (* Michael De Vlieger, Oct 30 2017 *)
PROG
(Magma) [Denominator((2^n-2)/n): n in [1..84]]; // Juri-Stepan Gerasimov, Sep 09 2014
(PARI) a(n)=my(k=1); while((2^n-2)*k%n != 0, k++); return(k) \\ Edward Jiang, Sep 09 2014
(PARI) a(n)=denominator(lift(Mod(2, n)^n-2)/n) \\ Charles R Greathouse IV, Sep 11 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 11 2009
EXTENSIONS
Extended by Ray Chandler, Apr 11 2009
STATUS
approved