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!)
A152993 a(n) = n - d(n) - pi(n) + 1. 1
1, 0, 0, 0, 1, 0, 2, 1, 3, 3, 5, 2, 6, 5, 6, 6, 9, 6, 10, 7, 10, 11, 13, 8, 14, 14, 15, 14, 18, 13, 19, 16, 19, 20, 21, 17, 24, 23, 24, 21, 27, 22, 28, 25, 26, 29, 31, 24, 32, 30, 33, 32, 36, 31, 36, 33, 38, 39, 41, 32, 42, 41, 40, 40, 44, 41, 47, 44, 47, 44 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
FORMULA
a(n) = n - A000005(n) - A000720(n) + 1.
MATHEMATICA
Table[n-DivisorSigma[0, n]-PrimePi[n]+1, {n, 70}] (* Harvey P. Dale, Sep 16 2020 *)
PROG
(PARI) a(n) = {n - numdiv(n) - primepi(n) + 1} \\ Andrew Howroyd, Jan 03 2020
CROSSREFS
Sequence in context: A321762 A158974 A355659 * A178133 A343379 A026927
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Dec 19 2008
EXTENSIONS
Terms a(17) and beyond from Andrew Howroyd, Jan 03 2020
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 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)