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!)
A084846 mu(n!+1), where mu is the Moebius function (A008683). 4
-1, -1, -1, -1, 0, 0, 1, 0, 1, -1, 1, -1, 0, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, 0, 1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, -1, -1, -1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, -1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, -1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Paul Leyland, Factors of n!+1.
Markus Tervooren et al., Factorization of n!+1, FactorDB.
FORMULA
If n is in A064237, then a(n) = 0. Otherwise a(n) = (-1)^A054990(n) = (-1)^A066856(n). - Max Alekseyev, Oct 08 2019
EXAMPLE
a(6)=1 because 6!+1 = 721 = 7 * 103, the product of two different primes and thus mu(6!+1) = (-1)^2 = 1.
PROG
(Magma) [MoebiusMu(Factorial(n)+1) : n in [1..45]];
(PARI) for(n=0, 45, print1(moebius(n!+1), ", "))
CROSSREFS
Cf. A008683 (mu(n)), A054990 (bigomega(n!+1)), A066856 (omega(n!+1)), A064237 (n!+1 divisible by a square), A002981 (n!+1 is prime).
Sequence in context: A130657 A347871 A185916 * A285498 A285504 A130093
KEYWORD
hard,sign
AUTHOR
Rick L. Shepherd, Jun 10 2003
EXTENSIONS
a(112) corrected, a(113)-a(114) added by Max Alekseyev, May 28 2015
a(106)-a(107) corrected by Amiram Eldar, Oct 03 2019
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 13 09:49 EDT 2024. Contains 372504 sequences. (Running on oeis4.)