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!)
A079533 Floor(k - sqrt(k)) - phi(k) as k runs through the composite numbers (A002808). 3
0, 1, 1, 0, 2, 4, 4, 3, 4, 7, 7, 4, 7, 11, 0, 8, 3, 10, 16, 10, 7, 12, 5, 18, 13, 8, 17, 23, 17, 14, 17, 25, 0, 22, 11, 20, 28, 7, 24, 13, 22, 36, 24, 19, 24, 8, 37, 27, 16, 37, 39, 29, 26, 31, 8, 45, 39, 18, 32, 50, 11, 34, 21, 38, 56, 9, 38, 23, 38, 13, 54, 46, 29, 50, 59, 45, 46, 43, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
It is known that a(n) >= 0.
REFERENCES
D. S. Mitrinovic et al., Handbook of Number Theory, Kluwer, p. 9.
W. Sierpiński, Elementary Theory of Numbers. Państ. Wydaw. Nauk., Warsaw, 1964.
LINKS
W. Sierpiński, Elementary Theory of Numbers, Warszawa 1964.
MAPLE
f:= proc(n) if not isprime(n) then floor(n - sqrt(n)) - numtheory:-phi(n) fi end proc:
map(f, [$4..200]); # Robert Israel, Nov 09 2023
PROG
(PARI) lista(nn) = forcomposite(n=1, nn, print1(floor(n - sqrt(n)) - eulerphi(n), ", ")); \\ Michel Marcus, Dec 12 2014
CROSSREFS
Sequence in context: A257978 A193358 A214028 * A072872 A135359 A098217
KEYWORD
nonn,look
AUTHOR
N. J. A. Sloane, Jan 23 2003
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 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)