addition generator generates n terms