login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A075989 Number of k satisfying 1<=k<=n and <n/k> >= 1/2, where <n/k> is the fractional part of n/k; i.e. <n/k>=n/k-Floor(n,k). 2
0, 0, 1, 0, 2, 1, 2, 2, 3, 2, 5, 2, 4, 5, 6, 3, 6, 6, 7, 6, 7, 6, 11, 6, 8, 9, 10, 9, 12, 9, 10, 10, 13, 12, 15, 10, 11, 14, 17, 12, 16, 13, 16, 15, 16, 17, 20, 15, 16, 18, 19, 16, 23, 20, 21, 18, 19, 20, 25, 20, 22, 23, 26, 21, 24, 21, 24, 27, 28, 25, 28, 22, 25, 28, 29, 26, 31, 30 (list; graph; refs; listen; history; internal format)
OFFSET

1,5

FORMULA

a(n)+A075988(n)=n-d(n), where d(n)=A000005(n) is the number of divisors of n.

a(n) seems to be asymptotic to c*n with c=0.61.... - Benoit Cloitre (benoit7848c(AT)orange.fr), Oct 03 2002

EXAMPLE

For n = 5, the fractional parts of k/n are 0, 1/2, 2/3, 1/4, 0; a(n) = 2 counts 1/2 and 2/3. A075988(5) = 1 counts 1/4 and A000005(5) = 2 counts the 0's.

PROG

(PARI) a(n)=n-sum(i=1, n, if(sign(frac(n/i)-1/2)+1, 0, 1))

CROSSREFS

Cf. A075988, A076991.

Sequence in context: A127685 A127687 A024156 * A085432 A029169 A202090

Adjacent sequences:  A075986 A075987 A075988 * A075990 A075991 A075992

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu), Sep 28 2002

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 14 20:13 EST 2012. Contains 205663 sequences.