WolframAlpha computational knowledge AI
(sum i=1 to i=40 of 37^i * i) * 40