Post History
Husk, 9 bytes ḟo=⁰Σπ2İp Try it online! Explanation ḟo=⁰Σπ2İp İp take the infinite list of primes π2 cartesian power 2 (all possible pairs) ḟo first pair which satisfie...
Answer
#1: Initial revision
# [Husk], 9 bytes ḟo=⁰Σπ2İp [Try it online!][TIO-kkyui5jl] [Husk]: https://github.com/barbuz/Husk [TIO-kkyui5jl]: https://tio.run/##ARoA5f9odXNr///huJ9vPeKBsM6jz4AyxLBw////NA "Husk – Try It Online" ## Explanation ``` ḟo=⁰Σπ2İp İp take the infinite list of primes π2 cartesian power 2 (all possible pairs) ḟo first pair which satisfies: Σ sum = equals ⁰ input?