Files
projecteuler/p29/solution.jl
2024-02-07 15:06:50 +01:00

11 lines
166 B
Julia

function solution(a, b)
S = Set{BigInt}()
for i 2:a
for j 2:b
push!(S, BigInt(i)^j)
end
end
return length(S)
end