committing lucas function
committing sum_series fuction