r=.5+5**.5/2f=lambda n:[n/r+1,n*r][n%r<1]//1 for d in range(10): print f(2**31-d)
Standard input is empty
1327217885.0 3474701531.0 3474701529.0 1327217883.0 3474701526.0 1327217882.0 3474701523.0 3474701521.0 1327217880.0 3474701518.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!