Another way to do it
Y=6 X=10 N=10 [y for x,y in zip(range(0,N),itertools.count(X,Y))] [10, 16, 22, 28, 34, 40, 46, 52, 58, 64]
And one more way
map(lambda (x,y):y,zip(range(0,N),itertools.count(10,Y))) [10, 16, 22, 28, 34, 40, 46, 52, 58, 64]
And one more way
import numpy numpy.array(range(0,N))*Y+X array([10, 16, 22, 28, 34, 40, 46, 52, 58, 64])
And even that
C=itertools.count(10,Y) [C.next() for i in xrange(10)] [10, 16, 22, 28, 34, 40, 46, 52, 58, 64]