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!)
A322019 a(n) = A000005(n) - A014197(n), where A000005(n) gives the number of divisors of n, and A014197(n) gives the number of integers m with phi(m) = n. 3
-1, -1, 2, -1, 2, 0, 2, -1, 3, 2, 2, 0, 2, 4, 4, -1, 2, 2, 2, 1, 4, 2, 2, -2, 3, 4, 4, 4, 2, 6, 2, -1, 4, 4, 4, 1, 2, 4, 4, -1, 2, 4, 2, 3, 6, 2, 2, -1, 3, 6, 4, 4, 2, 6, 4, 5, 4, 2, 2, 3, 2, 4, 6, -1, 4, 6, 2, 6, 4, 6, 2, -5, 2, 4, 6, 6, 4, 6, 2, 0, 5, 2, 2, 6, 4, 4, 4, 2, 2, 12, 4, 3, 4, 4, 4, -5, 2, 6, 6, 5, 2, 6, 2, 5, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A000005(n) - A014197(n).
PROG
(PARI)
A014197(n, m=1) = { n==1 && return(1+(m<2)); my(p, q); sumdiv(n, d, if( d>=m && isprime(d+1), sum( i=0, valuation(q=n\d, p=d+1), A014197(q\p^i, p))))}; \\ From A014197
A322019(n) = (numdiv(n)-A014197(n));
CROSSREFS
Cf. A000005, A014197, A305058 (positions of zeros).
Cf. also A305896.
Sequence in context: A255980 A029357 A118054 * A077883 A058666 A112181
KEYWORD
sign
AUTHOR
Antti Karttunen, Dec 03 2018
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 August 15 15:39 EDT 2024. Contains 375173 sequences. (Running on oeis4.)