find no of iterations in python
ps = 1000
print("%12s%18s" % ("Problen Size", "iterations"))
for count in range(5):
number = 0
work = 1
for j in range(ps):
for k in range(ps):
number += 1
work += 1
work -= 1
print("%12d%18d" % (ps, number))
ps *= 2