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!)
A355935 Dirichlet inverse of A091862, characteristic function of numbers for which A267116(n) = bigomega(n), where A267116 is the bitwise-OR of the exponents of primes in the prime factorization of n. 1
1, -1, -1, 0, -1, 2, -1, 0, 0, 2, -1, -2, -1, 2, 2, 0, -1, -2, -1, -2, 2, 2, -1, 2, 0, 2, 0, -2, -1, -6, -1, 0, 2, 2, 2, 6, -1, 2, 2, 2, -1, -6, -1, -2, -2, 2, -1, -2, 0, -2, 2, -2, -1, 2, 2, 2, 2, 2, -1, 10, -1, 2, -2, 0, 2, -6, -1, -2, 2, -6, -1, -8, -1, 2, -2, -2, 2, -6, -1, -2, 0, 2, -1, 10, 2, 2, 2, 2, -1, 10, 2, -2, 2, 2, 2, 2, -1, -2, -2, 6, -1, -6, -1, 2, -6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A091862(n/d) * a(d).
MATHEMATICA
s[n_] := If[n == 1 || PrimeOmega[n] == BitOr @@ FactorInteger[n][[;; , 2]], 1, 0]; a[1] = 1; a[n_] := a[n] = -DivisorSum[n, s[n/#]*a[#] &, # < n &]; Array[a, 100] (* Amiram Eldar, Jul 21 2022 *)
PROG
(PARI)
A267116(n) = if(1==n, 0, fold(bitor, factor(n)[, 2]));
A091862(n) = (bigomega(n)==A267116(n));
memoA355935 = Map();
A355935(n) = if(1==n, 1, my(v); if(mapisdefined(memoA355935, n, &v), v, v = -sumdiv(n, d, if(d<n, A091862(n/d)*A355935(d), 0)); mapput(memoA355935, n, v); (v)));
CROSSREFS
Sequence in context: A161528 A175083 A323090 * A180026 A136176 A291914
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 21 2022
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 8 04:12 EDT 2024. Contains 372317 sequences. (Running on oeis4.)