login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A322581 Sum of A003958 and its Dirichlet inverse: a(n) = A003958(n) + A097945(n). 6
2, 0, 0, 1, 0, 4, 0, 1, 4, 8, 0, 2, 0, 12, 16, 1, 0, 4, 0, 4, 24, 20, 0, 2, 16, 24, 8, 6, 0, 0, 0, 1, 40, 32, 48, 4, 0, 36, 48, 4, 0, 0, 0, 10, 16, 44, 0, 2, 36, 16, 64, 12, 0, 8, 80, 6, 72, 56, 0, 8, 0, 60, 24, 1, 96, 0, 0, 16, 88, 0, 0, 4, 0, 72, 32, 18, 120, 0, 0, 4, 16, 80, 0, 12, 128, 84, 112, 10, 0, 16, 144, 22, 120, 92, 144 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..16384

FORMULA

a(n) = A003958(n) + A097945(n).

MATHEMATICA

a[1] = 2; a[n_] := Times @@ ((First[#] - 1)^Last[#] & /@ FactorInteger[n]) + MoebiusMu[n] * EulerPhi[n]; Array[a, 60] (* Amiram Eldar, Dec 17 2018 *)

PROG

(PARI)

A003958(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1]--); factorback(f); };

A097945(n) = (moebius(n)*eulerphi(n));

A322581(n) = (A003958(n)+A097945(n));

CROSSREFS

Cf. A003958, A097945, A322582.

Cf. also A319340.

Sequence in context: A323887 A323365 A323911 * A209915 A319340 A323408

Adjacent sequences:  A322578 A322579 A322580 * A322582 A322583 A322584

KEYWORD

nonn

AUTHOR

Antti Karttunen, Dec 17 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 17:32 EDT 2019. Contains 328373 sequences. (Running on oeis4.)