Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def yzz(n): #returns some multiples of 4 or 5 per 29..no? or sub-sequence?
- y=0 #remember to add diskwrite to..these
- for x in range(1,n):
- y=y+(x/29)
- #print(y,x) #uncomment this to get the pairs
- return(y/n) #comment this to get the pairs.
- yzz(800000000)
- Here is some of the output:
- 13.620689655172416
- 137.75862068965517
- 1379.1379310344828
- 13792.931034482763
- 137930.8620689655
- 1379310.1724137932
- 13793103.27586207
- 137931034.28979486
- 1379310344.6220388
- Next one breaks W|A server, all others give "possible closed forms" as various combinations of digits, pi and e.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement