fork download
  1. r=.5+5**.5/2
  2. f=lambda n:[n/r+1,n*r][n%r<1]//1
  3.  
  4. for d in range(10): print f(2**31-d)
Success #stdin #stdout 0.01s 47720KB
stdin
Standard input is empty
stdout
1327217885.0
3474701531.0
3474701529.0
1327217883.0
3474701526.0
1327217882.0
3474701523.0
3474701521.0
1327217880.0
3474701518.0