RosettaCodeData/Task/Tau-function/Icon/tau-function.icon

10 lines
145 B
Text
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
procedure main()
every writes(" ",tau(seq()))\100
write()
end
procedure tau(n)
every (c := 0, n%(1 to n) = 0, c +:= 1)
return c
end