MATHEMATICS

Minggu, 30 Januari 2011

Number Theory in Mathematica

Euler's totient function as a Dirichlet Product
$$\varphi(n) = \mu * N$$
or in Mathematica:
In[3]:= DirichletConvolve[MoebiusMu[n],n,n,n]
Out[3]= EulerPhi[n]
Link: Multiplicative Number Theory functions in Mathematica

Tidak ada komentar:

Posting Komentar