LiouvilleLambda
gives the Liouville function .
Details and Options
- LiouvilleLambda is also known as Liouville function.
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- LiouvilleLambda[n] gives 1 whenever the number of prime factors counting multiplicity of n is even and -1 otherwise.
- For a number n=u p1k1⋯ pmkm with u a unit and pi primes, LiouvilleLambda[n] returns (-1)k1+⋯+km.
- With the setting GaussianIntegers->True, LiouvilleLambda is defined using factorization over Gaussian integers.
- LiouvilleLambda[m+In] automatically works over Gaussian integers.
Examples
open allclose allBasic Examples (2)
Scope (8)
Numerical Evaluation (4)
LiouvilleLambda works over integers:
LiouvilleLambda threads over lists:
Symbolic Manipulation (4)
TraditionalForm formatting:
Options (1)
GaussianIntegers (1)
Compute LiouvilleLambda over integers:
Applications (5)
Basic Applications (2)
Highlight numbers for which Liouville's function is in blue and for which it is in red:
Histogram of the cumulative values of LiouvilleLambda:
Number Theory (3)
LiouvilleLambda and MoebiusMu are related by the equation :
Use LiouvilleLambda to compute MoebiusMu:
Properties & Relations (5)
LiouvilleLambda is a completely multiplicative function:
LiouvilleLambda gives when the argument is a product of an even number of primes:
Use FactorInteger to compute LiouvilleLambda:
Use PrimeOmega to compute LiouvilleLambda:
Neat Examples (3)
Plot LiouvilleLambda for the sum of two squares:
Plot the arguments of the Fourier transform of LiouvilleLambda:
Plot the Ulam spiral of LiouvilleLambda:
Text
Wolfram Research (2008), LiouvilleLambda, Wolfram Language function, https://reference.wolfram.com/language/ref/LiouvilleLambda.html.
CMS
Wolfram Language. 2008. "LiouvilleLambda." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LiouvilleLambda.html.
APA
Wolfram Language. (2008). LiouvilleLambda. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LiouvilleLambda.html