The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A346202 a(n) = L(n)^2, where L is Liouville's function. 1
1, 0, 1, 0, 1, 0, 1, 4, 1, 0, 1, 4, 9, 4, 1, 0, 1, 4, 9, 16, 9, 4, 9, 4, 1, 0, 1, 4, 9, 16, 25, 36, 25, 16, 9, 4, 9, 4, 1, 0, 1, 4, 9, 16, 25, 16, 25, 36, 25, 36, 25, 36, 49, 36, 25, 16, 9, 4, 9, 4, 9, 4, 9, 4, 1, 4, 9, 16, 9, 16, 25, 36, 49, 36, 49, 64, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
The Riemann Hypothesis is equivalent to the statement that, for every fixed eps > 0, lim_{n->oo} (L(n) / n^(eps + 1/2)) = 0.
REFERENCES
Peter Borwein, Stephen Choi, Brendan Rooney, and Andrea Weirathmueller, The Riemann Hypothesis: A Resource for the Afficionado and Virtuoso Alike, 2007, page 6, Theorem 1.2.
LINKS
FORMULA
a(n) = Sum_{i=1..n} Sum_{j=1..n} A008836(i)*A008836(j).
a(n) = A002819(n)^2. - Ilya Gutkovskiy, Jul 10 2021
MAPLE
L:= proc(n) option remember; `if`(n<1, 0,
(-1)^numtheory[bigomega](n)+L(n-1))
end:
a:= n-> L(n)^2:
seq(a(n), n=1..77); # Alois P. Heinz, Jul 28 2021
MATHEMATICA
Table[Sum[LiouvilleLambda[n], {n, 1, nn}]^2, {nn, 1, 77}]
PROG
(PARI) a008836(n) = (-1)^bigomega(n) \\ after Charles R Greathouse IV in A008836
a(n) = sum(i=1, n, sum(j=1, n, a008836(i)*a008836(j))) \\ Felix Fröhlich, Jul 10 2021
(Python)
from functools import reduce
from operator import ixor
from sympy import factorint
def A346202(n): return sum(-1 if reduce(ixor, factorint(i).values(), 0)&1 else 1 for i in range(1, n+1))**2 # Chai Wah Wu, Dec 20 2022
CROSSREFS
Cf. A002819, A008836, A028488 (positions of zeros).
Sequence in context: A170989 A290457 A344851 * A253004 A253011 A290456
KEYWORD
nonn
AUTHOR
Mats Granvik, Jul 10 2021
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 14:18 EDT 2024. Contains 372738 sequences. (Running on oeis4.)