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
MATHEMATICA
Table[c=0; Do[If[Divisible[Ceiling[n/k], k], c++], {k, n}]; c, {n, 105}] (* James C. McMahon, Dec 24 2024 *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Leroy Quet, Mar 02 2007
EXTENSIONS
More terms from Emeric Deutsch, Mar 28 2007
STATUS
approved