Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
11
Task/Tau-function/Pluto/tau-function.pluto
Normal file
11
Task/Tau-function/Pluto/tau-function.pluto
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
local int = require "int"
|
||||
local fmt = require "fmt"
|
||||
|
||||
local limit <const> = 100
|
||||
local tau = {}
|
||||
local i = 0
|
||||
print($"The tau functions for the first {limit} positive integers are:")
|
||||
for i = 1, limit do
|
||||
tau:insert(int.divstat(i)[1])
|
||||
end
|
||||
fmt.tprint("%2d ", tau, 10)
|
||||
Loading…
Add table
Add a link
Reference in a new issue