login
A366575
Number of divisors of 3^n - 1.
9
2, 4, 4, 10, 6, 16, 4, 24, 8, 24, 8, 80, 4, 16, 24, 112, 8, 128, 8, 180, 16, 64, 8, 384, 24, 16, 64, 160, 16, 768, 16, 256, 32, 128, 48, 1280, 8, 64, 96, 864, 16, 768, 8, 640, 384, 32, 32, 14336, 128, 384, 64, 160, 16, 4096, 128, 1536, 128, 256, 8, 23040, 8
OFFSET
1,1
LINKS
FORMULA
a(n) = sigma0(3^n-1) = A000005(A024023).
EXAMPLE
a(4)=10 because 3^4-1 has divisors {1, 2, 4, 5, 8, 10, 16, 20, 40, 80}.
MAPLE
a:=n->numtheory[tau](3^n-1):
seq(a(n), n=1..100);
MATHEMATICA
DivisorSigma[0, 3^Range[100]-1] (* Paolo Xausa, Oct 15 2023 *)
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Oct 13 2023
STATUS
approved