login
This site is supported by donations 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; internal format)
OFFSET

1,3

COMMENTS

a(p) = p-1 for all primes p. a(n^2) = 0 for all positive integers n.

CROSSREFS

Cf. A139717, A033676.

Sequence in context: A153733 A083218 A203908 * A168232 A163123 A194346

Adjacent sequences:  A139713 A139714 A139715 * A139717 A139718 A139719

KEYWORD

nonn

AUTHOR

Leroy Quet, May 01 2008

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Jul 01 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 16:39 EST 2012. Contains 205823 sequences.