LiouvilleLambda

LiouvilleLambda[n]
gives the Liouville function .

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Liouville's function gives where is the number of prime factors counting multiplicity:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Plot the sequence:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)