Initial upload

This commit is contained in:
2022-08-24 14:28:45 +02:00
parent c67653ddee
commit 57bc7b0289
370 changed files with 18479 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
function prime_factors(n::Int)
primes = []
while n != 1 && n > 1
for i in 2:n
if n % i == 0
push!(primes, i)
n = div(n, i)
break
end
end
end
primes
end