I am not sure this really qualifies as fun, but what the heck...
Among the languages you'll find on this web page are Transact SQL, LyME, ColdFusion and even Icon.
But don't worry: Haskell is also included
a1 * k**1 + a2 * k**2 + a3 * k**3 + a4 * k**4 + a5 * k**5in my very limited understanding the Haskell solution seems to have
a1 * k + a2 * k + a3 * k + a4 * k + a5 * kProbably just me.