OFFSET
1,4
LINKS
Robert Israel, Table of n, a(n) for n = 1..16369 (rows 1 to 13, flattened)
FORMULA
EXAMPLE
Table begins:
1;
1, 0, 2;
1, 0, 0, 0, 0, 0, 6;
...
MAPLE
f:= proc(n, k) if 2^n-1 mod k = 0 then numtheory:-phi(k) else 0 fi end proc:
seq(seq(f(n, k), k=1..2^n-1), n=1..10); # Robert Israel, Jul 21 2016
MATHEMATICA
T[n_, k_] := If[Divisible[2^n - 1, k], EulerPhi[k], 0];
Table[T[n, k], {n, 1, 10}, {k, 1, 2^n - 1}] // Flatten (* Jean-François Alcover, Feb 07 2023, after Robert Israel *)
PROG
(Magma) {* Order(g) : g in GF(2^6) | g ne 0 *};
CROSSREFS
KEYWORD
nonn,easy,nice,tabf
AUTHOR
N. J. A. Sloane, Nov 01 2000
EXTENSIONS
T(6,21) corrected by Robert Israel, Jul 21 2016
STATUS
approved