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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126081 a(n) = number of k, 1 <= k <= n, such that k divides ceiling(n/k). 0
1, 1, 2, 2, 1, 1, 3, 3, 2, 1, 2, 2, 2, 2, 3, 4, 2, 2, 2, 2, 2, 2, 3, 3, 3, 2, 3, 2, 2, 2, 4, 4, 2, 3, 4, 4, 1, 1, 2, 2, 1, 1, 4, 4, 4, 4, 5, 5, 3, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 5, 4, 1, 1, 3, 3, 2, 3, 5, 5, 3, 3, 4, 3, 3, 3, 5, 5, 3, 1, 2, 2, 1, 1, 2, 3, 2, 2, 3, 4, 4, 4, 5, 6, 5, 5, 5, 4, 1, 1, 3, 3, 2 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

EXAMPLE

Ceiling(n/k) for n = 7 is: k=1: 7; k=2: 4; k=3: 3; k=4: 2; k=5: 2; k=6: 2; k=7: 1. 1 divides 7, 2 divides 4, 3 divides 3; so a(7) = 3.

MAPLE

a:=proc(n) local ct, k: ct:=0: for k from 1 to n do if type(ceil(n/k)/k, integer)=true then ct:=ct+1 else ct:=ct fi od: ct; end: seq(a(n), n=1..130); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 28 2007

CROSSREFS

Cf. A066030.

Sequence in context: A191781 A155092 A095133 * A102481 A110659 A100522

Adjacent sequences:  A126078 A126079 A126080 * A126082 A126083 A126084

KEYWORD

nonn

AUTHOR

Leroy Quet Mar 02 2007

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 28 2007

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 17 12:35 EST 2012. Contains 206019 sequences.