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!)
A353371 Number of divisors of n that are not in A325698. 3
0, 1, 1, 2, 1, 2, 1, 3, 2, 3, 1, 4, 1, 2, 2, 4, 1, 4, 1, 5, 3, 3, 1, 6, 2, 2, 3, 4, 1, 5, 1, 5, 2, 3, 2, 6, 1, 2, 3, 7, 1, 5, 1, 5, 4, 3, 1, 8, 2, 5, 2, 4, 1, 6, 3, 6, 3, 2, 1, 9, 1, 3, 5, 6, 2, 5, 1, 5, 2, 5, 1, 9, 1, 2, 4, 4, 2, 5, 1, 9, 4, 3, 1, 8, 3, 2, 3, 7, 1, 8, 3, 5, 2, 3, 2, 10, 1, 4, 4, 8, 1, 5, 1, 6, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{d|n} 1-A353370(d).
a(n) = A000005(n) - A353372(n).
a(p) = 1 for all primes p.
a(n) = a(A003961(n)) = a(A348717(n)), for all n >= 1.
PROG
(PARI)
A353370(n) = { my(f = factor(n)); (0==sum(i=1, #f~, f[i, 2]*((-1)^(primepi(f[i, 1])%2)))); };
A353371(n) = sumdiv(n, d, !A353370(d));
CROSSREFS
Sequence in context: A217743 A238845 A093873 * A353334 A353304 A305974
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 16 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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)