Some aspects of Euler's theory of series: Inexplicable functions and the Euler-Maclaurin summation formula