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”).

A003977
Inverse Möbius transform of A003963.
0
1, 2, 3, 3, 4, 6, 5, 4, 7, 8, 6, 9, 7, 10, 12, 5, 8, 14, 9, 12, 15, 12, 10, 12, 13, 14, 15, 15, 11, 24, 12, 6, 18, 16, 20, 21, 13, 18, 21, 16, 14, 30, 15, 18, 28, 20, 16, 15, 21, 26, 24, 21, 17, 30, 24, 20, 27, 22, 18, 36, 19, 24, 35, 7, 28, 36, 20, 24, 30, 40, 21, 28, 22, 26
OFFSET
1,2
FORMULA
Multiplicative with a(p^e) = e+1 if p = 2; (q^(e+1)-1)/(q-1) if p > 2; where q = pi(p) = A000720(p). - David W. Wilson, Sep 01 2001
MATHEMATICA
f[p_, e_] := Module[{q = PrimePi[p]}, (q^(e+1)-1)/(q-1)]; f[2, e_] := e+1; a[n_] := Times @@ f @@@ FactorInteger[n]; a[1] = 1; Array[a, 100] (* Amiram Eldar, Sep 04 2023 *)
CROSSREFS
Sequence in context: A358298 A347712 A159999 * A003971 A349371 A282442
KEYWORD
nonn,easy,mult
AUTHOR
EXTENSIONS
More terms from David W. Wilson, Aug 29 2001
STATUS
approved