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

A003978
Möbius transform of A003964.
1
1, 1, 2, 2, 4, 2, 6, 4, 6, 4, 10, 4, 14, 6, 8, 8, 21, 6, 29, 8, 12, 10, 41, 8, 20, 14, 18, 12, 55, 8, 76, 16, 20, 21, 24, 12, 100, 29, 28, 16, 134, 12, 175, 20, 24, 41, 230, 16, 42, 20, 42, 28, 296, 18, 40, 24, 58, 55, 384, 16, 489, 76, 36, 32, 56, 20, 626, 42, 82, 24, 791, 24
OFFSET
1,3
FORMULA
Multiplicative with a(p^e) = (q-1)q^(e-1) were q = partition(pi(p)+1) = A000041(A000720(p)+1). - David W. Wilson, Sep 01 2001
MATHEMATICA
f[p_, e_] := Module[{q = PartitionsP[PrimePi[p] + 1]}, (q-1)*q^(e-1)]; a[n_] := Times @@ f @@@ FactorInteger[n]; a[1] = 1; Array[a, 100] (* Amiram Eldar, Sep 04 2023 *)
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
EXTENSIONS
More terms from David W. Wilson, Aug 29 2001
STATUS
approved