Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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