first commit

This commit is contained in:
=
2024-02-07 15:06:50 +01:00
commit af02e453c1
55 changed files with 2166 additions and 0 deletions

11
p30/solution.jl Normal file
View File

@@ -0,0 +1,11 @@
function solution(p)
V = Vector{Int}(undef, 0)
for i 2:999999
if i == sum(digits(i).^p)
println(i)
push!(V, i)
end
end
return V
end