[ create a new paste ] login | about

Link: http://codepad.org/YWi4q3j1    [ raw code | output | fork ]

Python, pasted on Jul 5:
1
2
3
4
5
for i in range(50):
  n=i+9
  x=p=66439
  while~-p:x=p/2*x/p+10**n;p-=2
  print`x/5`


Output:
314159265L
3141592653L
31415926535L
314159265358L
3141592653589L
31415926535897L
314159265358979L
3141592653589793L
31415926535897932L
314159265358979323L
3141592653589793238L
31415926535897932384L
314159265358979323846L
3141592653589793238462L
31415926535897932384626L
314159265358979323846264L
3141592653589793238462643L
31415926535897932384626433L
314159265358979323846264338L
3141592653589793238462643383L
31415926535897932384626433832L
314159265358979323846264338327L
3141592653589793238462643383279L
31415926535897932384626433832795L
314159265358979323846264338327950L
3141592653589793238462643383279502L
31415926535897932384626433832795028L
314159265358979323846264338327950288L
3141592653589793238462643383279502884L
31415926535897932384626433832795028841L
314159265358979323846264338327950288419L
3141592653589793238462643383279502884197L
31415926535897932384626433832795028841971L
314159265358979323846264338327950288419716L
3141592653589793238462643383279502884197169L
31415926535897932384626433832795028841971693L
314159265358979323846264338327950288419716939L
3141592653589793238462643383279502884197169399L
31415926535897932384626433832795028841971693993L
314159265358979323846264338327950288419716939937L
3141592653589793238462643383279502884197169399375L
31415926535897932384626433832795028841971693993751L
314159265358979323846264338327950288419716939937510L
3141592653589793238462643383279502884197169399375105L
31415926535897932384626433832795028841971693993751058L
314159265358979323846264338327950288419716939937510582L
3141592653589793238462643383279502884197169399375105820L
31415926535897932384626433832795028841971693993751058209L
314159265358979323846264338327950288419716939937510582097L
3141592653589793238462643383279502884197169399375105820974L


Create a new paste based on this one


Comments: