|
|
A213244
|
|
Number of nonzero elements in GF(2^n) that are 5th powers.
|
|
7
|
|
|
1, 3, 7, 3, 31, 63, 127, 51, 511, 1023, 2047, 819, 8191, 16383, 32767, 13107, 131071, 262143, 524287, 209715, 2097151, 4194303, 8388607, 3355443, 33554431, 67108863, 134217727
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = M / GCD( M, 5 ) where M=2^n-1.
a(n) = 17*a(n-4)-16*a(n-8).
G.f.: x*(8*x^6+12*x^5+14*x^4+3*x^3+7*x^2+3*x+1) / ((x-1)*(x+1)*(2*x-1)*(2*x+1)*(x^2+1)*(4*x^2+1)).
(End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [(2^n - 1) / GCD (2^n - 1, 5): n in [1..40]]; // Vincenzo Librandi, Mar 16 2013
(PARI) a(n)=(2^n-1)/gcd(2^n-1, 5) \\ Edward Jiang, Sep 04 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|