I've tried a 'for i in range(53):'loop but
that doesn't work for this
Why not? It seems like the proper way to do this. Note that you salt the variables with the first 2 numbers, so the loop would run 2 less than the number of the total sequence.
Also, do not use i, O, l, etc. as variable names as they look like numbers, i.e. k+l, is that k+el or k+one?
a = 23
b = 7
c = 18
print 1, b
print 2, c
for ctr in range(a-2):
b, c = c, b+c
print ctr+3, c