login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


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
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, Mar 28 2007
CROSSREFS
Cf. A066030.
Sequence in context: A155092 A095133 A334572 * A268507 A272351 A243612
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 02 2007
EXTENSIONS
More terms from Emeric Deutsch, Mar 28 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 20 06:55 EDT 2024. Contains 376067 sequences. (Running on oeis4.)