I have been going down the YouTube mathematics rabbit hole. I learned about something called Willans' (horribly inefficient) formula for calculating the nth prime, which made use of the Sigma (summation) operator, as well as some other axioms, and the floor function.
Then I watched a video about extending the definition of factorial! to the real numbers, which makes use of the Pi (product) operator.
Then it hit me. Is there a more abstract operator than Pi and Sigma, one which takes a binary function as an additional parameter? Say for example, Omega. Omega((+)) would then equal Sigma, and Omega((*)) would equal Pi. I was curious if there exists a higher order operator like this in formal mathematics.
To somewhat answer my own question, I have dabbled quite a bit in Haskell programming. In Haskell, there are two folding functions, foldl and foldr, which do something similar, except folds in Haskell operate on foldable data structures rather than a function and a range.
Any insight would be greatly appreciated!