Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Tau-function/11l/tau-function.11l
Normal file
14
Task/Tau-function/11l/tau-function.11l
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
F tau(n)
|
||||
V ans = 0
|
||||
V i = 1
|
||||
V j = 1
|
||||
L i * i <= n
|
||||
I 0 == n % i
|
||||
ans++
|
||||
j = n I/ i
|
||||
I j != i
|
||||
ans++
|
||||
i++
|
||||
R ans
|
||||
|
||||
print((1..100).map(n -> tau(n)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue