I've found Julia to be an excellent language for Project Euler [1]. Besides the speed, you can use Unicode identifiers, so the solution can closer follow the math.
https://docs.swift.org/swift-book/documentation/the-swift-pr...
Not that I like doing this in Matlab, but that's what everyone uses, though some are moving to python.
help?> Ψ₂ˣ
"Ψ₂ˣ" can be typed by \Psi<tab>\_2<tab>\^x<tab>(You can also type these easily via latex-style completions, e.g. with \cup<TAB> for ∪ or \cap<TAB> for ∩)