# Revision history [back]

Write a function. Why do stuff in symbolics when you don't need them to be so? Working with symbolic expressions is also very slow.

def sumf(k,n,t):
return sum(factorial(3-i)*k^i*t^i, i,0,n)