login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A334167
a(n) is the number of divisors of n^n-1.
7
2, 4, 8, 12, 16, 16, 96, 128, 48, 16, 256, 48, 32, 128, 128, 40, 512, 12, 2048, 768, 256, 64, 6144, 4096, 768, 512, 4096, 768, 24576, 16, 6144, 768, 8192, 1024, 262144, 1152, 256, 1024, 49152, 256, 65536, 64, 24576, 196608, 384, 32, 393216, 327680, 12288, 24576
OFFSET
2,1
COMMENTS
25 values of the first 40 are powers of 2.
LINKS
FORMULA
a(n) = A000005(A048861(n)).
MATHEMATICA
a[n_] := DivisorSigma[0, n^n - 1]; a /@ Range[2, 45] (* Giovanni Resta, Apr 17 2020 *)
PROG
(PARI) a(n) = numdiv(n^n-1); \\ Michel Marcus, Apr 17 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Todor Szimeonov, Apr 17 2020
EXTENSIONS
More terms from Giovanni Resta, Apr 17 2020
STATUS
approved