I’m the songs in a show; I help painters prosaic;
The mob’s betting racket; the fourth book Mosaic;
The terms’ coefficients in strings algebraic;
And Apple’s own app for all things formulaic.
Who am I?
UPDATE: Riddle solved by Bronx Richie. See comments for answer.