func cntdiv n .
i = 1
while i <= sqrt n
if n mod i = 0
cnt += 1
if i <> n div i
.
i += 1
return cnt
for i to 100
write cntdiv i & " "