The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A139716 If k is the largest divisor of n that is <= sqrt(n) then a(n) = n - k^2. 1
0, 1, 2, 0, 4, 2, 6, 4, 0, 6, 10, 3, 12, 10, 6, 0, 16, 9, 18, 4, 12, 18, 22, 8, 0, 22, 18, 12, 28, 5, 30, 16, 24, 30, 10, 0, 36, 34, 30, 15, 40, 6, 42, 28, 20, 42, 46, 12, 0, 25, 42, 36, 52, 18, 30, 7, 48, 54, 58, 24, 60, 58, 14, 0, 40, 30, 66, 52, 60, 21, 70, 8, 72, 70, 50, 60, 28, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
a(p) = p-1 for all primes p. a(n^2) = 0 for all positive integers n.
LINKS
CROSSREFS
Sequence in context: A346612 A352528 A307704 * A168232 A253136 A216960
KEYWORD
nonn
AUTHOR
Leroy Quet, May 01 2008
EXTENSIONS
Extended by Ray Chandler, Jul 01 2009
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 13 12:32 EDT 2024. Contains 372519 sequences. (Running on oeis4.)