series generation, determine geometric or arithmetic, finite and infinite summation_