Skip to content

Instantly share code, notes, and snippets.

@smls
Created February 8, 2017 15:33
Show Gist options
  • Save smls/4f132878ce90ee4658e0f1bcb665d2bc to your computer and use it in GitHub Desktop.
Save smls/4f132878ce90ee4658e0f1bcb665d2bc to your computer and use it in GitHub Desktop.
Finding FF(2)...
step 2: 1/3 + 1/4 + 1/5 + 1/9 + 2/15 + 1/25 + 1/-30 + 1/-45 + 1/-75 + 1/900
step 5: 1/3 + 1/4 + 1/5 + 1/9 + 1/15 + 1/25 + 1/30 + 1/-30 + 1/-45 + 1/45 + 1/75 + 1/-75 + 1/-450 + 1/900
step 4: 1/3 + 1/4 + 1/5 + 1/9 + 1/15 + 1/25 + 1/-450 + 1/900
FF(2) = [3 4 5 9 15 25 -450 900]
Finding FF(3)...
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/16 + 1/18 + 1/25 + 2/27 + 1/30 + 4/45 + 1/50 + 1/81 + 2/125 + 2/135 + 2/375 + 1/625 + 1/-675 + 1/-900 + 1/-1125 + 1/1350 + 1/1800 + 1/-2025 + 1/2250 + 1/-3375 + 1/4050 + 1/-5625 + 1/6750 + 1/11250 + 1/-202500 + 1/202500 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/16 + 1/18 + 1/25 + 2/27 + 1/30 + 4/45 + 1/50 + 1/81 + 2/125 + 2/135 + 2/375 + 1/625 + 1/-675 + 1/-900 + 1/-1125 + 1/1350 + 1/1800 + 1/-2025 + 1/2250 + 1/-3375 + 1/4050 + 1/-5625 + 1/6750 + 1/11250 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/16 + 1/18 + 1/25 + 1/27 + 1/30 + 1/45 + 1/50 + 1/54 + 2/81 + 3/90 + 1/125 + 5/135 + 3/225 + 1/250 + 1/270 + 2/375 + 1/405 + 2/625 + 1/-675 + 1/675 + 1/750 + 1/-810 + 1/-900 + 1/1125 + 1/-1125 + 1/1350 + 3/-1350 + 1/1800 + 1/1875 + 1/-2025 + 1/2250 + 1/-3375 + 1/-3750 + 1/4050 + 1/-4050 + 1/-5625 + 1/6750 + 1/11250 + 1/-11250 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 1/45 + 1/50 + 1/54 + 1/75 + 2/81 + 1/125 + 1/250 + 1/270 + 2/375 + 1/405 + 1/-450 + 2/625 + 1/-675 + 1/675 + 1/750 + 1/-810 + 1/-900 + 1/1125 + 1/-1125 + 1/1350 + 1/1800 + 1/1875 + 1/-2025 + 1/2250 + 1/-3375 + 1/-3750 + 1/4050 + 1/-4050 + 1/-5625 + 1/6750 + 1/11250 + 1/-11250 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 1/45 + 1/50 + 1/54 + 1/75 + 2/81 + 1/125 + 1/250 + 1/270 + 2/375 + 1/405 + 1/-450 + 2/625 + 1/750 + 1/-810 + 1/-900 + 1/1350 + 1/1800 + 1/1875 + 1/-2025 + 1/2250 + 1/-3375 + 1/-3750 + 1/-5625 + 1/6750 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 2/54 + 1/75 + 2/81 + 1/125 + 1/135 + 1/162 + 1/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-450 + 1/625 + 2/750 + 2/-810 + 1/-900 + 1/1125 + 1/1250 + 1/1350 + 1/1800 + 3/1875 + 1/-2025 + 1/2250 + 1/-2430 + 1/3125 + 1/-3375 + 1/-3750 + 1/-5625 + 1/6750 + 1/-11250 + 1/-18750 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 1/45 + 1/50 + 1/75 + 2/81 + 1/125 + 1/135 + 1/162 + 1/243 + 1/250 + 1/270 + 2/375 + 2/405 + 1/-405 + 1/-450 + 2/625 + 1/-900 + 1/1125 + 1/1250 + 1/1350 + 1/1800 + 1/-2025 + 1/2250 + 1/-2430 + 1/3125 + 1/-3375 + 1/-3750 + 1/-5625 + 1/6750 + 1/-11250 + 1/-18750 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 2/81 + 1/125 + 2/135 + 2/162 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-405 + 1/-450 + 1/625 + 1/750 + 1/810 + 1/-810 + 1/-900 + 2/1125 + 1/1215 + 2/1250 + 1/1350 + 1/1800 + 2/1875 + 1/-2025 + 1/2025 + 1/2250 + 2/-2430 + 2/3125 + 1/-3375 + 1/-3750 + 1/-5625 + 1/6750 + 2/-11250 + 1/-12150 + 2/-18750 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/125 + 2/135 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-405 + 1/-450 + 2/625 + 1/750 + 1/810 + 1/-810 + 1/-900 + 2/1125 + 1/-1215 + 1/1215 + 1/1350 + 1/1800 + 2/1875 + 1/-2025 + 1/2025 + 1/2250 + 2/3125 + 1/-3375 + 1/-3750 + 2/-5625 + 1/6750 + 1/-9375 + 1/-12150 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/125 + 2/135 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-405 + 1/-450 + 2/625 + 1/750 + 1/-900 + 2/1125 + 1/1350 + 1/1800 + 2/1875 + 1/2250 + 2/3125 + 1/-3375 + 1/-3750 + 2/-5625 + 1/6750 + 1/-9375 + 1/-12150 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 2/54 + 1/75 + 1/81 + 1/125 + 2/135 + 1/243 + 1/250 + 2/270 + 1/375 + 1/-405 + 2/405 + 1/-450 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/-810 + 1/810 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1350 + 1/1800 + 2/1875 + 1/2025 + 2/2250 + 2/3125 + 1/3375 + 1/-3375 + 1/-3750 + 1/3750 + 1/-4050 + 2/5625 + 1/-5625 + 1/6250 + 1/6750 + 1/-7290 + 2/9375 + 1/-9375 + 1/-11250 + 2/-12150 + 1/15625 + 1/-16875 + 1/-18750 + 1/-28125 + 1/-33750 + 1/-56250 + 1/-93750 + 1/168750 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 2/45 + 1/50 + 1/75 + 1/81 + 1/125 + 1/243 + 1/250 + 1/375 + 2/405 + 1/-405 + 1/-450 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-810 + 1/-900 + 2/1125 + 2/1215 + 1/1250 + 1/1350 + 1/1800 + 2/1875 + 1/2025 + 2/3125 + 1/3375 + 1/-3375 + 1/-3750 + 1/3750 + 1/-4050 + 2/5625 + 1/-5625 + 1/-6075 + 1/6250 + 1/6750 + 1/-7290 + 1/-9375 + 2/9375 + 1/-11250 + 1/15625 + 1/-16875 + 1/-18750 + 1/-28125 + 1/-33750 + 1/-56250 + 1/-93750 + 1/168750 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 2/27 + 2/45 + 1/50 + 1/75 + 1/81 + 1/125 + 1/243 + 1/250 + 1/375 + 2/405 + 1/-405 + 1/-450 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/-900 + 2/1125 + 2/1215 + 1/1250 + 1/1350 + 1/1800 + 2/1875 + 1/2025 + 2/3125 + 1/-4050 + 2/5625 + 1/-5625 + 1/-6075 + 1/6250 + 1/6750 + 1/-7290 + 1/-9375 + 2/9375 + 1/-11250 + 1/15625 + 1/-16875 + 1/-18750 + 1/-28125 + 1/-33750 + 1/-56250 + 1/-93750 + 1/168750 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 2/81 + 1/90 + 1/125 + 2/135 + 1/225 + 1/243 + 1/250 + 1/375 + 1/-405 + 1/405 + 1/-450 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/-810 + 1/810 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1350 + 1/-1350 + 1/1800 + 1/1875 + 2/2025 + 1/2250 + 1/2430 + 1/3125 + 1/3375 + 1/3645 + 1/3750 + 1/-4050 + 3/5625 + 1/-5625 + 1/6075 + 1/-6075 + 2/6250 + 1/6750 + 1/-7290 + 3/9375 + 1/-9375 + 1/11250 + 1/-11250 + 1/-12150 + 2/15625 + 1/16875 + 1/-16875 + 1/-18750 + 1/18750 + 1/-28125 + 2/28125 + 2/-33750 + 1/-36450 + 1/46875 + 2/-56250 + 2/-93750 + 1/-168750 + 1/168750 + 1/-281250 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 2/81 + 1/90 + 1/125 + 2/135 + 1/225 + 1/243 + 1/250 + 1/375 + 1/-405 + 1/405 + 1/-450 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/-810 + 1/810 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1350 + 1/-1350 + 1/1800 + 2/1875 + 2/2025 + 1/2250 + 1/2430 + 3/3125 + 1/3375 + 1/3645 + 1/3750 + 1/-4050 + 1/-5625 + 1/6075 + 1/-6075 + 1/6750 + 1/-7290 + 1/-9375 + 1/11250 + 1/-11250 + 1/-12150 + 2/15625 + 1/16875 + 2/-16875 + 1/-18750 + 1/18750 + 2/-28125 + 2/28125 + 1/-36450 + 1/-46875 + 1/46875 + 1/-168750 + 1/168750 + 1/-281250 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 2/81 + 1/90 + 1/125 + 2/135 + 1/225 + 1/243 + 1/250 + 1/375 + 1/-450 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1800 + 2/1875 + 2/2025 + 1/2250 + 1/2430 + 3/3125 + 1/3375 + 1/3645 + 1/3750 + 1/-4050 + 1/-5625 + 1/6750 + 1/-7290 + 1/-9375 + 1/-12150 + 2/15625 + 1/16875 + 2/-16875 + 1/-36450 + 1/-281250 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-450 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1800 + 1/1875 + 1/2025 + 1/2250 + 1/-2430 + 2/2430 + 1/3125 + 1/3375 + 2/3645 + 2/3750 + 1/4050 + 2/-4050 + 1/5625 + 1/-5625 + 2/6075 + 2/6250 + 1/6750 + 1/-7290 + 3/9375 + 1/-9375 + 1/10125 + 1/-12150 + 3/15625 + 1/16875 + 1/-16875 + 1/31250 + 1/-33750 + 2/-36450 + 1/46875 + 1/-50625 + 1/-56250 + 1/-60750 + 1/78125 + 1/-84375 + 2/-93750 + 1/-281250 + 1/-468750 + 1/506250 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-450 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1800 + 2/1875 + 1/-2025 + 1/2025 + 1/2250 + 1/-2430 + 3/3125 + 1/3375 + 2/3645 + 1/4050 + 1/5625 + 1/-5625 + 2/6075 + 1/6750 + 1/-7290 + 1/-9375 + 1/10125 + 1/-12150 + 3/15625 + 1/16875 + 1/-16875 + 1/-18225 + 1/31250 + 1/-33750 + 1/-46875 + 1/46875 + 1/-50625 + 1/-56250 + 1/-60750 + 1/78125 + 1/-84375 + 1/-281250 + 1/-468750 + 1/506250 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-450 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1800 + 2/1875 + 1/2250 + 1/-2430 + 3/3125 + 1/3375 + 2/3645 + 1/4050 + 2/6075 + 1/6750 + 1/-7290 + 1/-9375 + 1/10125 + 1/-12150 + 3/15625 + 1/-18225 + 1/31250 + 1/-33750 + 1/-50625 + 1/-56250 + 1/-60750 + 1/78125 + 1/-84375 + 1/-281250 + 1/-468750 + 1/506250 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/-450 + 2/486 + 1/625 + 1/675 + 2/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 3/1215 + 1/1250 + 1/1350 + 1/1800 + 1/1875 + 2/2025 + 1/2250 + 1/-2430 + 1/2430 + 1/3125 + 2/3375 + 2/3645 + 1/3750 + 1/4050 + 1/5625 + 2/6075 + 2/6250 + 1/6750 + 1/7290 + 2/-7290 + 3/9375 + 1/-9375 + 1/10125 + 1/10935 + 2/-12150 + 1/12150 + 3/15625 + 1/-18225 + 2/18225 + 1/-20250 + 1/30375 + 3/31250 + 1/-33750 + 1/-36450 + 2/46875 + 1/-50625 + 2/-56250 + 1/-60750 + 3/78125 + 1/-84375 + 2/-93750 + 1/-109350 + 1/-182250 + 1/-281250 + 3/-468750 + 1/506250 + 1/810000
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-450 + 1/625 + 1/675 + 2/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1250 + 1/1350 + 1/1800 + 1/1875 + 2/2025 + 1/2250 + 1/-2430 + 1/2430 + 3/3125 + 2/3375 + 2/3645 + 1/-3645 + 1/3750 + 1/4050 + 1/5625 + 2/6075 + 1/-6075 + 1/6750 + 1/7290 + 1/-9375 + 1/10125 + 1/10935 + 1/12150 + 3/15625 + 1/-18225 + 2/18225 + 1/-20250 + 1/-28125 + 1/30375 + 3/31250 + 1/-33750 + 1/-36450 + 1/-46875 + 2/46875 + 1/-50625 + 1/-60750 + 3/78125 + 1/-84375 + 1/-109350 + 1/-156250 + 1/-182250 + 1/-281250 + 1/506250 + 1/810000
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 2/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/-450 + 1/625 + 1/675 + 2/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1250 + 1/1350 + 1/1800 + 1/1875 + 2/2025 + 1/2250 + 3/3125 + 2/3375 + 2/3645 + 1/-3645 + 1/3750 + 1/4050 + 1/5625 + 2/6075 + 1/-6075 + 1/6750 + 1/7290 + 1/-9375 + 1/10125 + 1/10935 + 1/12150 + 3/15625 + 1/-18225 + 2/18225 + 1/-20250 + 1/-28125 + 1/30375 + 3/31250 + 1/-33750 + 1/-36450 + 1/-46875 + 2/46875 + 1/-50625 + 1/-60750 + 3/78125 + 1/-84375 + 1/-109350 + 1/-156250 + 1/-182250 + 1/-281250 + 1/506250 + 1/810000
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/-450 + 1/486 + 1/625 + 1/675 + 2/729 + 1/750 + 2/810 + 1/-900 + 1/1125 + 2/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 2/2025 + 1/2187 + 1/2250 + 1/3125 + 1/3375 + 2/3645 + 1/-3645 + 1/3750 + 2/4050 + 1/5625 + 1/-6075 + 2/6075 + 2/6250 + 2/6750 + 2/7290 + 1/-7290 + 1/-9375 + 2/9375 + 3/10125 + 2/10935 + 2/12150 + 1/-12150 + 3/15625 + 1/16875 + 1/-18225 + 3/18225 + 1/-20250 + 1/-21870 + 1/-28125 + 2/30375 + 3/31250 + 1/-33750 + 1/-36450 + 1/36450 + 1/-46875 + 3/46875 + 1/-50625 + 1/54675 + 2/-60750 + 2/62500 + 3/78125 + 1/-84375 + 1/91125 + 3/93750 + 2/-93750 + 1/-101250 + 2/-109350 + 1/140625 + 1/-156250 + 4/156250 + 2/-182250 + 3/234375 + 1/-281250 + 2/390625 + 2/-468750 + 1/506250 + 1/-546750 + 1/810000 + 2/-937500 + 1/-1406250 + 2/-2343750
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 2/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/-450 + 1/486 + 1/625 + 2/675 + 2/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 1/2187 + 1/2250 + 2/3125 + 1/-3645 + 1/3750 + 1/5625 + 1/-6075 + 4/6075 + 1/6250 + 1/-7290 + 1/-9375 + 2/9375 + 2/10935 + 1/-12150 + 4/15625 + 1/16875 + 1/-18225 + 1/-20250 + 1/-21870 + 1/-28125 + 1/-30375 + 2/30375 + 1/-33750 + 1/-36450 + 1/36450 + 2/-46875 + 1/-50625 + 1/-54675 + 1/54675 + 6/78125 + 1/-84375 + 1/91125 + 1/-91125 + 1/-101250 + 1/140625 + 1/-156250 + 1/-234375 + 1/-281250 + 2/390625 + 1/-468750 + 1/506250 + 1/-546750 + 1/810000 + 1/-1171875 + 1/-1406250
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 2/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/-450 + 1/486 + 1/625 + 2/675 + 2/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 1/2187 + 1/2250 + 2/3125 + 1/-3645 + 1/3750 + 1/5625 + 4/6075 + 1/-6075 + 1/6250 + 1/-7290 + 2/9375 + 1/-9375 + 2/10935 + 1/-12150 + 4/15625 + 1/16875 + 1/-18225 + 1/-20250 + 1/-21870 + 1/-28125 + 2/30375 + 1/-30375 + 1/-33750 + 2/-46875 + 1/-50625 + 6/78125 + 1/-84375 + 1/-101250 + 1/140625 + 1/-156250 + 1/-234375 + 1/-281250 + 2/390625 + 1/-468750 + 1/506250 + 1/-546750 + 1/810000 + 1/-1171875 + 1/-1406250
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 2/270 + 1/375 + 1/405 + 1/-450 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 1/1125 + 1/1250 + 2/1350 + 2/1458 + 1/1800 + 1/1875 + 1/2025 + 2/2187 + 2/2250 + 1/3125 + 2/3375 + 1/3645 + 1/-3645 + 1/3750 + 1/-4050 + 2/5625 + 1/-6075 + 1/6075 + 2/6250 + 1/-7290 + 1/-9375 + 2/9375 + 1/10935 + 3/12150 + 1/-12150 + 2/15625 + 1/16875 + 1/-18225 + 3/18225 + 1/18750 + 2/-20250 + 2/-21870 + 1/21870 + 1/-28125 + 1/28125 + 1/-30375 + 4/30375 + 3/31250 + 1/32805 + 2/-33750 + 1/-46875 + 4/46875 + 1/-50625 + 1/54675 + 1/60750 + 4/78125 + 1/-84375 + 1/91125 + 2/-93750 + 1/-101250 + 1/140625 + 1/-140625 + 1/151875 + 5/156250 + 1/-156250 + 3/-182250 + 2/-234375 + 5/234375 + 2/-281250 + 1/-328050 + 6/390625 + 4/-468750 + 1/506250 + 1/-546750 + 1/781250 + 1/810000 + 1/-911250 + 1/-1171875 + 1/1171875 + 1/-1406250 + 1/1406250 + 1/1953125 + 5/-2343750 + 1/-11718750
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 2/135 + 1/162 + 2/225 + 1/243 + 1/250 + 1/375 + 1/405 + 1/-450 + 1/486 + 1/625 + 2/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1800 + 1/1875 + 1/2025 + 2/2187 + 3/3125 + 2/3375 + 1/3645 + 1/-3645 + 1/3750 + 1/4050 + 1/-4050 + 2/5625 + 2/6075 + 1/-6075 + 1/-7290 + 1/-9375 + 1/-10125 + 1/10935 + 1/-10935 + 1/-12150 + 4/15625 + 1/16875 + 1/-16875 + 1/-18225 + 1/18750 + 1/21870 + 1/-28125 + 1/28125 + 4/30375 + 1/-30375 + 1/32805 + 2/-46875 + 1/-50625 + 1/54675 + 1/-60750 + 1/60750 + 4/78125 + 1/-84375 + 1/91125 + 1/-101250 + 1/140625 + 2/-140625 + 1/151875 + 1/-156250 + 4/-234375 + 1/-328050 + 6/390625 + 1/-468750 + 1/506250 + 1/-546750 + 1/781250 + 1/810000 + 1/-911250 + 1/1171875 + 1/-1171875 + 1/-1406250 + 1/1406250 + 1/1953125 + 1/-11718750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 2/135 + 1/162 + 2/225 + 1/243 + 1/250 + 1/375 + 1/405 + 1/-450 + 1/486 + 1/625 + 2/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1800 + 1/1875 + 1/2025 + 2/2187 + 3/3125 + 2/3375 + 1/3750 + 2/5625 + 1/-6075 + 2/6075 + 1/-7290 + 1/-9375 + 1/-10125 + 1/-12150 + 4/15625 + 1/-18225 + 1/18750 + 1/21870 + 1/-30375 + 4/30375 + 1/32805 + 2/-46875 + 1/-50625 + 1/54675 + 4/78125 + 1/-84375 + 1/91125 + 1/-101250 + 1/140625 + 2/-140625 + 1/151875 + 1/-156250 + 4/-234375 + 1/-328050 + 6/390625 + 1/-468750 + 1/506250 + 1/-546750 + 1/781250 + 1/810000 + 1/-911250 + 1/1953125 + 1/-11718750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/450 + 1/-450 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1458 + 1/1800 + 1/1875 + 1/2025 + 2/2187 + 1/2250 + 1/3125 + 2/3375 + 1/3645 + 1/3750 + 1/-4050 + 1/4374 + 2/5625 + 1/-6075 + 1/6075 + 2/6250 + 1/6561 + 1/6750 + 1/-6750 + 1/-7290 + 1/-9375 + 2/9375 + 1/10125 + 1/-10125 + 1/10935 + 1/11250 + 1/12150 + 1/-12150 + 3/15625 + 2/16875 + 1/-18225 + 1/18225 + 1/18750 + 1/-21870 + 1/21870 + 1/28125 + 1/-30375 + 2/30375 + 3/31250 + 1/32805 + 1/-33750 + 1/-46875 + 3/46875 + 1/-50625 + 1/54675 + 3/60750 + 1/-65610 + 4/78125 + 1/-84375 + 4/91125 + 3/-93750 + 2/-101250 + 1/140625 + 2/-140625 + 4/151875 + 3/156250 + 1/-156250 + 1/-168750 + 1/-182250 + 2/-234375 + 3/234375 + 1/-281250 + 1/-328050 + 4/390625 + 1/-421875 + 7/-468750 + 1/506250 + 1/-546750 + 4/-703125 + 6/781250 + 1/810000 + 4/-911250 + 3/-1171875 + 5/1171875 + 1/1406250 + 6/1953125 + 3/-2343750 + 1/4218750 + 3/7031250 + 6/-11718750
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/450 + 1/-450 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1458 + 1/1800 + 1/1875 + 1/2025 + 2/2187 + 1/2250 + 3/3125 + 2/3375 + 1/3645 + 1/3750 + 1/-4050 + 1/4374 + 2/5625 + 1/-6075 + 1/6075 + 1/6561 + 1/6750 + 1/-6750 + 1/-7290 + 1/-9375 + 2/9375 + 1/10125 + 1/-10125 + 1/10935 + 1/11250 + 1/12150 + 1/-12150 + 2/16875 + 1/-18225 + 1/18225 + 1/18750 + 1/20250 + 1/-21870 + 1/21870 + 1/28125 + 1/-30375 + 2/30375 + 1/-31250 + 3/31250 + 1/32805 + 1/-33750 + 1/-46875 + 2/-50625 + 1/54675 + 1/-65610 + 1/-84375 + 4/91125 + 1/140625 + 2/-140625 + 4/151875 + 3/156250 + 1/-156250 + 1/-168750 + 1/-182250 + 2/-234375 + 1/234375 + 1/-281250 + 1/-328050 + 1/-390625 + 7/390625 + 1/-421875 + 2/-455625 + 7/-468750 + 1/506250 + 1/-546750 + 4/-703125 + 1/-781250 + 1/810000 + 1/1406250 + 6/1953125 + 1/-1953125 + 1/2343750 + 1/4218750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 2/405 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/-900 + 2/1125 + 1/1250 + 1/1458 + 1/1800 + 1/1875 + 1/2025 + 2/2187 + 1/2250 + 3/3125 + 2/3375 + 1/3645 + 1/3750 + 1/-4050 + 1/4374 + 2/5625 + 1/6561 + 1/-7290 + 1/-9375 + 2/9375 + 1/10935 + 1/11250 + 2/16875 + 1/18750 + 1/20250 + 1/28125 + 1/-30375 + 2/30375 + 3/31250 + 1/-31250 + 1/32805 + 1/-33750 + 1/-46875 + 2/-50625 + 1/54675 + 1/-65610 + 1/-84375 + 4/91125 + 1/140625 + 2/-140625 + 4/151875 + 3/156250 + 1/-156250 + 1/-168750 + 1/-182250 + 2/-234375 + 1/234375 + 1/-281250 + 1/-328050 + 1/-390625 + 7/390625 + 1/-421875 + 2/-455625 + 7/-468750 + 1/506250 + 1/-546750 + 4/-703125 + 1/-781250 + 1/810000 + 1/1406250 + 6/1953125 + 1/-1953125 + 1/2343750 + 1/4218750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 3/2025 + 1/2187 + 2/2250 + 1/3125 + 3/3375 + 1/3645 + 1/3750 + 1/-4050 + 2/4374 + 2/5625 + 2/6250 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 3/9375 + 1/10125 + 2/10935 + 2/11250 + 1/-12150 + 2/15625 + 3/16875 + 2/18750 + 1/-20250 + 1/20250 + 3/28125 + 1/-30375 + 1/30375 + 1/-31250 + 1/31250 + 1/32805 + 1/33750 + 2/-33750 + 1/-46875 + 1/46875 + 1/50625 + 1/-50625 + 1/54675 + 1/60750 + 2/62500 + 2/-65610 + 1/-84375 + 1/84375 + 2/91125 + 2/93750 + 2/-93750 + 2/-101250 + 1/140625 + 1/-140625 + 1/-151875 + 2/151875 + 1/-156250 + 3/156250 + 2/-168750 + 3/182250 + 1/-182250 + 1/-234375 + 1/234375 + 1/-253125 + 3/273375 + 3/-281250 + 3/303750 + 2/312500 + 1/-328050 + 1/-390625 + 1/390625 + 2/-421875 + 6/455625 + 1/-455625 + 2/468750 + 2/-468750 + 1/506250 + 1/-506250 + 1/-546750 + 3/-703125 + 3/759375 + 8/781250 + 1/-781250 + 1/810000 + 2/-911250 + 8/-937500 + 1/-1171875 + 6/1171875 + 1/-1366875 + 9/-1406250 + 1/1406250 + 1/1518750 + 7/1953125 + 1/-1953125 + 3/-2109375 + 1/-2278125 + 6/-2343750 + 1/2343750 + 3/-2733750 + 3/-3515625 + 5/3906250 + 2/4218750 + 3/-4556250 + 2/-4687500 + 5/5859375 + 1/7031250 + 5/9765625 + 6/-11718750 + 1/13668750 + 6/14062500 + 3/21093750 + 5/-58593750
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 2/2187 + 3/3125 + 1/3645 + 1/3750 + 1/-4050 + 4/5625 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 2/9375 + 2/10125 + 2/10935 + 1/-12150 + 3/15625 + 1/-15625 + 1/-16875 + 1/-20250 + 1/20250 + 1/-30375 + 1/-31250 + 1/-32805 + 1/32805 + 1/33750 + 2/46875 + 1/50625 + 2/-50625 + 1/54675 + 2/78125 + 1/-78125 + 2/-84375 + 1/84375 + 1/-93750 + 1/101250 + 1/140625 + 1/-140625 + 1/-151875 + 4/151875 + 1/-182250 + 2/234375 + 1/253125 + 1/-253125 + 1/-328050 + 2/-390625 + 7/390625 + 2/-421875 + 2/-455625 + 1/506250 + 1/-506250 + 1/-546750 + 1/-703125 + 1/781250 + 1/-781250 + 1/810000 + 1/-911250 + 2/-1171875 + 2/1171875 + 1/-1366875 + 1/1406250 + 1/1518750 + 1/-1518750 + 8/1953125 + 2/-1953125 + 1/2109375 + 1/-2278125 + 1/-2343750 + 1/3515625 + 1/-11718750 + 1/13668750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 1/625 + 2/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 2/2187 + 3/3125 + 1/3645 + 1/3750 + 1/-4050 + 4/5625 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 2/9375 + 2/10125 + 2/10935 + 1/-12150 + 3/15625 + 1/-15625 + 1/-16875 + 1/-30375 + 1/-31250 + 1/33750 + 2/46875 + 1/50625 + 2/-50625 + 1/54675 + 2/78125 + 1/-78125 + 1/84375 + 2/-84375 + 1/-93750 + 1/101250 + 1/-151875 + 4/151875 + 1/-182250 + 2/234375 + 1/-328050 + 2/-390625 + 7/390625 + 2/-421875 + 2/-455625 + 1/-546750 + 1/-703125 + 1/810000 + 1/-911250 + 1/-1366875 + 1/1406250 + 8/1953125 + 2/-1953125 + 1/2109375 + 1/-2278125 + 1/-2343750 + 1/3515625 + 1/-11718750 + 1/13668750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 2/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 2/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/3125 + 1/3375 + 1/3645 + 1/3750 + 1/-4050 + 1/4374 + 1/5625 + 2/6250 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 3/9375 + 1/10125 + 2/10935 + 1/-11250 + 3/11250 + 1/-12150 + 1/13122 + 3/15625 + 1/-15625 + 3/16875 + 1/-16875 + 1/18750 + 1/19683 + 1/-20250 + 1/20250 + 1/21870 + 4/28125 + 1/-30375 + 1/30375 + 1/-31250 + 2/31250 + 2/32805 + 1/33750 + 4/46875 + 2/50625 + 1/-50625 + 2/54675 + 1/-65610 + 3/78125 + 1/-78125 + 1/-84375 + 1/84375 + 1/93750 + 3/-93750 + 1/101250 + 1/-101250 + 1/140625 + 2/-151875 + 1/151875 + 1/156250 + 4/-168750 + 1/-182250 + 1/-196830 + 3/234375 + 2/-253125 + 1/-281250 + 1/-303750 + 3/303750 + 2/-328050 + 1/-390625 + 2/390625 + 2/-421875 + 3/455625 + 1/-455625 + 1/468750 + 2/-468750 + 1/-546750 + 1/703125 + 1/-703125 + 3/759375 + 6/781250 + 1/-781250 + 1/810000 + 1/-843750 + 2/-911250 + 1/-1171875 + 7/1171875 + 1/-1265625 + 2/-1366875 + 1/-1406250 + 1/1406250 + 1/1518750 + 7/1953125 + 2/-1953125 + 1/-2109375 + 1/2109375 + 2/-2278125 + 2/-2343750 + 1/2531250 + 1/3515625 + 7/3906250 + 1/-3906250 + 3/-4556250 + 1/-5859375 + 7/5859375 + 1/-7031250 + 1/-9765625 + 7/9765625 + 1/11718750 + 7/-11718750 + 1/12656250 + 2/13668750 + 1/58593750 + 7/-58593750
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 2/625 + 2/675 + 1/729 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 4/3125 + 1/3375 + 1/3645 + 1/-4050 + 1/4374 + 2/5625 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 1/10125 + 2/10935 + 1/-11250 + 1/-12150 + 1/13122 + 2/-15625 + 1/16875 + 1/-16875 + 1/18750 + 1/19683 + 1/-20250 + 1/20250 + 1/21870 + 1/-28125 + 4/28125 + 1/-30375 + 1/30375 + 2/32805 + 1/33750 + 4/46875 + 1/-50625 + 2/54675 + 1/-65610 + 1/-78125 + 1/84375 + 1/93750 + 1/-101250 + 1/140625 + 2/-151875 + 2/151875 + 1/156250 + 1/-164025 + 1/-182250 + 1/-196830 + 1/-234375 + 1/253125 + 2/-253125 + 1/-281250 + 1/-303750 + 1/-390625 + 2/-421875 + 2/-455625 + 1/468750 + 1/-546750 + 1/703125 + 1/-703125 + 1/-781250 + 1/810000 + 1/-843750 + 2/-1171875 + 7/1171875 + 1/-1265625 + 2/-1366875 + 1/-1406250 + 1/1406250 + 1/1518750 + 1/-1518750 + 7/1953125 + 2/-1953125 + 1/-2109375 + 1/2109375 + 2/-2278125 + 1/2531250 + 1/3515625 + 7/3906250 + 1/-3906250 + 1/-5859375 + 7/5859375 + 1/6834375 + 1/-7031250 + 1/-9765625 + 7/9765625 + 1/11718750 + 7/-11718750 + 1/12656250 + 1/58593750 + 7/-58593750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 2/625 + 2/675 + 1/729 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 4/3125 + 1/3375 + 1/3645 + 1/-4050 + 1/4374 + 2/5625 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 1/10125 + 2/10935 + 1/-11250 + 1/-12150 + 1/13122 + 2/-15625 + 1/18750 + 1/19683 + 1/21870 + 1/-28125 + 4/28125 + 2/32805 + 1/33750 + 4/46875 + 1/-50625 + 2/54675 + 1/-65610 + 1/-78125 + 1/84375 + 1/93750 + 1/-101250 + 1/140625 + 1/156250 + 1/-164025 + 1/-182250 + 1/-196830 + 1/-234375 + 1/253125 + 2/-253125 + 1/-281250 + 1/-303750 + 1/-390625 + 2/-421875 + 2/-455625 + 1/468750 + 1/-546750 + 1/-781250 + 1/810000 + 1/-843750 + 2/-1171875 + 7/1171875 + 1/-1265625 + 2/-1366875 + 7/1953125 + 2/-1953125 + 2/-2278125 + 1/2531250 + 1/3515625 + 7/3906250 + 1/-3906250 + 1/-5859375 + 7/5859375 + 1/6834375 + 1/-7031250 + 1/-9765625 + 7/9765625 + 1/11718750 + 7/-11718750 + 1/12656250 + 1/58593750 + 7/-58593750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 2/1125 + 1/1215 + 2/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 2/2025 + 1/2187 + 2/3125 + 2/3375 + 1/3645 + 1/-4050 + 1/4374 + 1/5625 + 3/6250 + 1/6561 + 1/6750 + 1/-7290 + 1/-9375 + 3/9375 + 1/10125 + 1/10935 + 2/-11250 + 1/11250 + 1/-12150 + 2/13122 + 3/15625 + 1/-15625 + 1/16875 + 1/-18750 + 1/18750 + 2/19683 + 1/-20250 + 2/21870 + 1/-28125 + 2/28125 + 1/-31250 + 3/32805 + 1/33750 + 1/-46875 + 1/46875 + 1/-50625 + 2/54675 + 3/56250 + 1/-65610 + 1/65610 + 2/-78125 + 4/84375 + 4/93750 + 3/-93750 + 1/98415 + 1/-101250 + 1/109350 + 7/140625 + 1/156250 + 2/164025 + 1/-164025 + 1/-168750 + 1/-182250 + 2/-196830 + 1/-234375 + 3/234375 + 1/253125 + 1/-253125 + 1/273375 + 1/-281250 + 1/-303750 + 1/-328050 + 1/-390625 + 1/-421875 + 1/-455625 + 2/468750 + 1/-506250 + 1/-546750 + 1/-759375 + 1/-781250 + 1/810000 + 5/-843750 + 1/-911250 + 1/-984150 + 1/-1171875 + 1/1171875 + 3/-1265625 + 2/-1366875 + 3/-1406250 + 1/-1640250 + 1/1953125 + 1/-1953125 + 1/-2109375 + 2/-2278125 + 1/-2343750 + 6/2343750 + 1/2531250 + 1/-2733750 + 7/3515625 + 1/-3515625 + 7/3906250 + 2/-3906250 + 1/-4100625 + 1/-4556250 + 3/-5859375 + 13/5859375 + 2/-6834375 + 1/6834375 + 1/-7031250 + 1/7593750 + 6/7812500 + 2/-9765625 + 7/9765625 + 1/-11390625 + 13/11718750 + 1/-11718750 + 2/12656250 + 1/13668750 + 6/17578125 + 12/19531250 + 6/-23437500 + 12/29296875 + 12/-35156250 + 1/35156250 + 1/41006250 + 6/48828125 + 2/58593750 + 13/-58593750 + 1/68343750 + 12/-117187500 + 12/-175781250 + 12/-292968750 + 6/351562500 + 6/1757812500
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 2/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 2/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 2/2025 + 1/2187 + 3/3125 + 2/3375 + 2/3645 + 1/-4050 + 1/4374 + 1/5625 + 1/-5625 + 3/6250 + 2/6561 + 1/6750 + 1/-7290 + 1/-9375 + 1/9375 + 1/10125 + 1/11250 + 1/-12150 + 4/15625 + 2/-15625 + 1/16875 + 1/-18750 + 2/19683 + 1/-20250 + 1/-28125 + 2/28125 + 1/33750 + 1/-46875 + 1/-50625 + 2/54675 + 1/-65610 + 1/65610 + 1/78125 + 2/-78125 + 1/-84375 + 4/84375 + 1/-98415 + 1/98415 + 1/-101250 + 1/109350 + 7/140625 + 1/156250 + 2/164025 + 1/-164025 + 1/-182250 + 1/-234375 + 1/234375 + 1/253125 + 1/-253125 + 1/273375 + 1/-281250 + 1/-303750 + 1/-328050 + 1/-390625 + 3/390625 + 2/-421875 + 1/-455625 + 1/-468750 + 1/-506250 + 1/-546750 + 1/-759375 + 1/-781250 + 1/810000 + 1/-911250 + 1/-984150 + 1/-1171875 + 1/1171875 + 2/-1366875 + 1/-1640250 + 1/1953125 + 3/-1953125 + 1/-2109375 + 2/-2278125 + 1/-2343750 + 1/2531250 + 1/-2733750 + 7/3515625 + 1/-3515625 + 1/-3906250 + 1/-4100625 + 1/-4556250 + 2/-5859375 + 1/6328125 + 2/-6834375 + 1/6834375 + 1/-7031250 + 1/7593750 + 3/-9765625 + 17/9765625 + 1/-11390625 + 13/11718750 + 1/-11718750 + 1/13668750 + 2/-29296875 + 1/29296875 + 1/35156250 + 1/41006250 + 6/48828125 + 2/-48828125 + 1/58593750 + 13/-58593750 + 1/68343750 + 1/292968750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 2/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 2/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 2/2025 + 1/2187 + 3/3125 + 2/3375 + 2/3645 + 1/-4050 + 1/4374 + 3/6250 + 2/6561 + 1/6750 + 1/-7290 + 1/10125 + 1/11250 + 1/-12150 + 4/15625 + 2/-15625 + 1/16875 + 1/-18750 + 2/19683 + 1/-20250 + 1/-28125 + 2/28125 + 1/33750 + 1/-46875 + 1/-50625 + 2/54675 + 1/78125 + 2/-78125 + 4/84375 + 1/-84375 + 1/-101250 + 1/109350 + 7/140625 + 1/156250 + 2/164025 + 1/-164025 + 1/-182250 + 1/273375 + 1/-281250 + 1/-303750 + 1/-328050 + 1/-390625 + 3/390625 + 2/-421875 + 1/-455625 + 1/-468750 + 1/-506250 + 1/-546750 + 1/-759375 + 1/-781250 + 1/810000 + 1/-911250 + 1/-984150 + 2/-1366875 + 1/-1640250 + 1/1953125 + 3/-1953125 + 1/-2109375 + 2/-2278125 + 1/-2343750 + 1/2531250 + 1/-2733750 + 7/3515625 + 1/-3515625 + 1/-3906250 + 1/-4100625 + 1/-4556250 + 2/-5859375 + 1/6328125 + 2/-6834375 + 1/6834375 + 1/-7031250 + 1/7593750 + 3/-9765625 + 17/9765625 + 1/-11390625 + 13/11718750 + 1/-11718750 + 1/13668750 + 2/-29296875 + 1/29296875 + 1/35156250 + 1/41006250 + 6/48828125 + 2/-48828125 + 1/58593750 + 13/-58593750 + 1/68343750 + 1/292968750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 2/3125 + 2/3375 + 1/3645 + 1/3750 + 1/4050 + 1/-4050 + 1/4374 + 2/5625 + 1/6075 + 3/6250 + 1/6561 + 2/6750 + 1/7290 + 1/-7290 + 3/9375 + 3/10125 + 1/10935 + 1/11250 + 1/-12150 + 2/12500 + 1/13122 + 1/-15625 + 3/15625 + 2/16875 + 1/18225 + 2/18750 + 2/-18750 + 2/19683 + 1/-20250 + 1/-28125 + 1/28125 + 1/-31250 + 5/31250 + 1/32805 + 1/-33750 + 1/33750 + 1/39366 + 3/46875 + 2/-46875 + 1/-50625 + 1/54675 + 1/56250 + 1/-56250 + 1/59049 + 1/-60750 + 4/78125 + 2/-78125 + 1/-84375 + 2/84375 + 2/-93750 + 1/98415 + 2/-101250 + 2/109350 + 1/-109350 + 2/140625 + 1/156250 + 1/-156250 + 2/164025 + 1/-164025 + 3/168750 + 1/-182250 + 2/-187500 + 1/-196830 + 1/-234375 + 3/253125 + 2/273375 + 6/281250 + 1/-281250 + 1/-303750 + 1/-328050 + 1/328050 + 1/390625 + 2/-390625 + 9/421875 + 1/-421875 + 1/-455625 + 1/468750 + 4/-468750 + 1/492075 + 1/-506250 + 1/-546750 + 1/-590490 + 6/703125 + 1/-759375 + 2/781250 + 1/-781250 + 1/810000 + 1/820125 + 2/-843750 + 1/-911250 + 1/-984150 + 2/1171875 + 1/-1265625 + 1/-1366875 + 2/-1640250 + 3/1953125 + 1/-1953125 + 2/-2109375 + 1/-2278125 + 1/-2343750 + 1/2343750 + 3/-2531250 + 1/2531250 + 2/-2733750 + 1/3515625 + 1/-3515625 + 3/-3906250 + 2/-4100625 + 6/-4218750 + 2/-4556250 + 1/-4920750 + 3/-5859375 + 1/6328125 + 3/-6834375 + 1/6834375 + 6/7031250 + 1/-7031250 + 1/7593750 + 1/9765625 + 3/-9765625 + 6/10546875 + 2/-11390625 + 1/11718750 + 4/-11718750 + 1/12656250 + 1/13668750 + 1/-13668750 + 1/-17578125 + 6/17578125 + 16/19531250 + 2/-19531250 + 1/-20503125 + 12/23437500 + 4/-29296875 + 17/29296875 + 1/-34171875 + 13/35156250 + 2/41006250 + 3/-48828125 + 17/48828125 + 15/58593750 + 2/-58593750 + 2/68343750 + 1/-87890625 + 5/97656250 + 1/-97656250 + 6/-105468750 + 12/-117187500 + 2/-146484375 + 5/146484375 + 12/-175781250 + 1/175781250 + 1/205031250 + 5/244140625 + 1/-244140625 + 3/292968750 + 28/-292968750 + 12/-351562500 + 1/878906250 + 1/1464843750 + 5/-1464843750 + 12/1757812500
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 2/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 3/3125 + 4/3375 + 1/3645 + 1/3750 + 1/4050 + 1/-4050 + 1/4374 + 2/5625 + 1/6075 + 1/6561 + 1/7290 + 1/-7290 + 1/-9375 + 2/9375 + 1/10935 + 1/11250 + 1/-12150 + 1/13122 + 4/15625 + 2/-15625 + 2/16875 + 1/18225 + 2/19683 + 1/-20250 + 1/-28125 + 1/-31250 + 1/32805 + 1/33750 + 1/-33750 + 1/39366 + 2/46875 + 2/-50625 + 2/54675 + 1/-56250 + 1/59049 + 1/-60750 + 4/78125 + 3/-78125 + 1/-84375 + 1/-93750 + 1/98415 + 1/-109350 + 2/140625 + 1/-156250 + 1/156250 + 2/164025 + 1/-164025 + 1/-182250 + 1/-196830 + 2/234375 + 2/273375 + 1/-281250 + 1/-303750 + 1/-328050 + 1/328050 + 2/-390625 + 3/390625 + 2/-421875 + 1/-455625 + 1/468750 + 1/492075 + 1/-506250 + 1/-546750 + 1/-590490 + 1/-703125 + 2/-759375 + 1/-781250 + 1/810000 + 1/-820125 + 1/820125 + 1/-843750 + 1/-911250 + 1/-984150 + 1/1171875 + 1/-1265625 + 2/-1366875 + 7/1953125 + 3/-1953125 + 2/-2109375 + 1/-2343750 + 1/2343750 + 1/2531250 + 1/-3515625 + 1/3906250 + 3/-3906250 + 2/-4100625 + 1/-4920750 + 2/-5859375 + 2/5859375 + 1/6328125 + 1/6834375 + 1/-7031250 + 1/7593750 + 2/-11390625 + 1/11718750 + 1/12656250 + 1/13668750 + 1/-13668750 + 2/-17578125 + 1/19531250 + 1/-20503125 + 1/20503125 + 8/-29296875 + 1/-34171875 + 1/34171875 + 13/35156250 + 18/48828125 + 3/-48828125 + 1/-87890625 + 1/97656250 + 1/-97656250 + 16/-146484375 + 1/146484375 + 1/175781250 + 1/205031250 + 1/-244140625 + 1/-292968750 + 1/878906250 + 1/1464843750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 2/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 3/3125 + 4/3375 + 1/3645 + 1/3750 + 1/4374 + 2/5625 + 1/6075 + 1/6561 + 1/-9375 + 2/9375 + 1/10935 + 1/11250 + 1/-12150 + 1/13122 + 4/15625 + 2/-15625 + 2/16875 + 1/18225 + 2/19683 + 1/-20250 + 1/-28125 + 1/-31250 + 1/32805 + 1/39366 + 2/46875 + 2/-50625 + 2/54675 + 1/-56250 + 1/59049 + 1/-60750 + 4/78125 + 3/-78125 + 1/-84375 + 1/-93750 + 1/98415 + 1/-109350 + 2/140625 + 2/164025 + 1/-164025 + 1/-182250 + 1/-196830 + 2/234375 + 2/273375 + 1/-281250 + 1/-303750 + 2/-390625 + 3/390625 + 2/-421875 + 1/-455625 + 1/468750 + 1/492075 + 1/-506250 + 1/-546750 + 1/-590490 + 1/-703125 + 2/-759375 + 1/-781250 + 1/810000 + 1/-843750 + 1/-911250 + 1/-984150 + 1/1171875 + 1/-1265625 + 2/-1366875 + 7/1953125 + 3/-1953125 + 2/-2109375 + 1/2531250 + 1/-3515625 + 1/3906250 + 3/-3906250 + 2/-4100625 + 1/-4920750 + 1/6328125 + 1/6834375 + 1/-7031250 + 1/7593750 + 2/-11390625 + 1/11718750 + 1/12656250 + 2/-17578125 + 1/19531250 + 8/-29296875 + 13/35156250 + 18/48828125 + 3/-48828125 + 1/-87890625 + 16/-146484375 + 1/146484375 + 1/175781250 + 1/205031250 + 1/-244140625 + 1/-292968750 + 1/878906250 + 1/1464843750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 2/3125 + 1/3375 + 1/3645 + 2/3750 + 1/4374 + 2/5625 + 1/6075 + 2/6250 + 1/6561 + 3/6750 + 1/-9375 + 4/9375 + 3/10125 + 1/10935 + 2/11250 + 1/-12150 + 1/13122 + 3/15625 + 1/-15625 + 5/16875 + 1/18225 + 1/-18750 + 1/18750 + 1/19683 + 1/-20250 + 1/-28125 + 2/28125 + 2/-31250 + 3/31250 + 1/32805 + 1/33750 + 2/39366 + 1/-46875 + 5/46875 + 1/50625 + 1/-50625 + 1/54675 + 2/-56250 + 2/59049 + 1/-60750 + 4/78125 + 2/-78125 + 1/-84375 + 1/84375 + 1/93750 + 3/-93750 + 2/98415 + 4/-101250 + 1/109350 + 1/-109350 + 2/140625 + 1/-151875 + 3/156250 + 2/-156250 + 2/164025 + 1/-164025 + 1/-168750 + 1/-182250 + 1/-196830 + 2/-234375 + 5/234375 + 1/-253125 + 2/273375 + 1/281250 + 2/-281250 + 1/-303750 + 1/328050 + 3/-390625 + 4/390625 + 1/421875 + 1/-421875 + 1/-455625 + 3/468750 + 3/-468750 + 2/492075 + 2/-506250 + 1/-546750 + 1/546750 + 2/-590490 + 2/703125 + 1/-703125 + 1/-759375 + 2/781250 + 2/-781250 + 1/810000 + 2/820125 + 2/-843750 + 1/-911250 + 1/-984150 + 1/-1171875 + 4/1171875 + 2/-1265625 + 1/-1366875 + 1/1366875 + 1/-1406250 + 1/1518750 + 1/-1518750 + 1/-1640250 + 3/1953125 + 2/-1953125 + 2/-2109375 + 1/-2278125 + 3/-2343750 + 2/2343750 + 1/2531250 + 1/-2733750 + 1/-3515625 + 1/-3796875 + 7/3906250 + 3/-3906250 + 2/-4100625 + 2/-4218750 + 2/-4920750 + 2/-5859375 + 6/5859375 + 1/6328125 + 1/-6328125 + 1/-6834375 + 1/6834375 + 2/-7031250 + 1/7593750 + 2/-7812500 + 2/-8201250 + 2/-9765625 + 6/9765625 + 1/-10546875 + 1/-11390625 + 2/11718750 + 4/-11718750 + 1/-12301875 + 2/12656250 + 1/-17578125 + 1/19531250 + 2/-19531250 + 1/-20503125 + 1/-22781250 + 1/22781250 + 1/-29296875 + 1/-34171875 + 1/-35156250 + 1/35156250 + 1/41006250 + 1/48828125 + 1/-48828125 + 1/-52734375 + 1/-56953125 + 2/58593750 + 13/-58593750 + 1/63281250 + 12/70312500 + 9/-87890625 + 17/97656250 + 2/-97656250 + 12/105468750 + 2/117187500 + 1/123018750 + 10/-146484375 + 18/146484375 + 13/175781250 + 1/205031250 + 17/244140625 + 3/-244140625 + 16/-292968750 + 1/341718750 + 15/-439453125 + 1/527343750 + 15/-732421875 + 8/878906250 + 12/-1054687500 + 3/1464843750 + 17/-1464843750 + 15/4394531250
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 2/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 3/3125 + 1/3645 + 1/4374 + 1/6075 + 1/6561 + 1/-9375 + 1/10935 + 1/-12150 + 1/13122 + 2/-15625 + 3/15625 + 1/-16875 + 1/18225 + 1/18750 + 1/-18750 + 2/19683 + 1/-20250 + 2/-28125 + 2/28125 + 1/-31250 + 3/31250 + 1/32805 + 1/33750 + 1/46875 + 1/-46875 + 1/50625 + 1/54675 + 2/59049 + 1/-60750 + 7/78125 + 3/-78125 + 1/-84375 + 1/84375 + 1/93750 + 2/98415 + 1/109350 + 1/-109350 + 2/140625 + 1/-140625 + 1/-151875 + 1/-156250 + 2/164025 + 1/-164025 + 1/-168750 + 1/-182250 + 1/-196830 + 1/234375 + 2/-234375 + 2/-253125 + 2/273375 + 1/281250 + 1/-295245 + 1/-303750 + 1/328050 + 1/390625 + 4/-390625 + 1/421875 + 2/-421875 + 1/-455625 + 2/492075 + 1/-546750 + 1/546750 + 2/703125 + 2/-703125 + 1/-759375 + 1/-781250 + 1/810000 + 2/820125 + 1/-911250 + 1/-984150 + 1/-1171875 + 2/-1265625 + 2/-1366875 + 1/1366875 + 1/-1406250 + 1/-1518750 + 1/1518750 + 1/-1640250 + 4/-1953125 + 1/-2278125 + 1/-2460375 + 1/2531250 + 1/-2733750 + 2/-3515625 + 1/-3796875 + 7/3906250 + 2/5859375 + 4/-5859375 + 2/6328125 + 1/-6328125 + 1/-6834375 + 1/6834375 + 1/7593750 + 6/9765625 + 4/-9765625 + 1/-10546875 + 1/-11390625 + 1/-12301875 + 1/-17578125 + 2/17578125 + 1/19531250 + 1/-20503125 + 1/-22781250 + 1/22781250 + 4/-29296875 + 1/29296875 + 1/-34171875 + 1/35156250 + 1/-35156250 + 1/41006250 + 3/-48828125 + 7/48828125 + 1/-52734375 + 1/-56953125 + 1/58593750 + 13/-58593750 + 1/63281250 + 1/-87890625 + 17/97656250 + 1/123018750 + 8/-146484375 + 13/175781250 + 1/205031250 + 17/244140625 + 3/-244140625 + 1/292968750 + 1/341718750 + 4/439453125 + 1/488281250 + 1/527343750 + 17/-1464843750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 2/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 3/3125 + 1/3645 + 1/4374 + 1/6075 + 1/6561 + 1/-9375 + 1/10935 + 1/-12150 + 1/13122 + 3/15625 + 2/-15625 + 1/-16875 + 1/18225 + 2/19683 + 1/-20250 + 3/31250 + 1/-31250 + 1/32805 + 1/33750 + 1/50625 + 1/54675 + 2/59049 + 1/-60750 + 7/78125 + 3/-78125 + 1/93750 + 2/98415 + 2/140625 + 1/-140625 + 1/-151875 + 1/-156250 + 2/164025 + 1/-164025 + 1/-168750 + 1/-182250 + 1/-196830 + 2/-234375 + 1/234375 + 2/-253125 + 2/273375 + 1/281250 + 1/-295245 + 1/-303750 + 1/328050 + 4/-390625 + 1/390625 + 1/421875 + 2/-421875 + 1/-455625 + 2/492075 + 1/-759375 + 1/-781250 + 1/810000 + 2/820125 + 1/-911250 + 1/-984150 + 1/-1171875 + 2/-1265625 + 2/-1366875 + 1/1366875 + 1/-1406250 + 1/-1640250 + 4/-1953125 + 1/-2278125 + 1/-2460375 + 1/2531250 + 1/-2733750 + 2/-3515625 + 1/-3796875 + 7/3906250 + 4/-5859375 + 2/5859375 + 2/6328125 + 1/-6328125 + 1/7593750 + 4/-9765625 + 6/9765625 + 1/-10546875 + 1/-11390625 + 1/-12301875 + 1/-17578125 + 2/17578125 + 1/19531250 + 1/-20503125 + 4/-29296875 + 1/29296875 + 1/-34171875 + 1/41006250 + 7/48828125 + 3/-48828125 + 1/-52734375 + 1/-56953125 + 1/58593750 + 13/-58593750 + 1/63281250 + 1/-87890625 + 17/97656250 + 1/123018750 + 8/-146484375 + 13/175781250 + 1/205031250 + 17/244140625 + 3/-244140625 + 1/292968750 + 1/341718750 + 4/439453125 + 1/488281250 + 1/527343750 + 17/-1464843750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 2/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 2/1250 + 1/1350 + 1/1458 + 1/1800 + 3/1875 + 1/2025 + 1/2187 + 2/3125 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 2/6250 + 1/6561 + 1/-9375 + 3/9375 + 1/10935 + 1/-11250 + 1/-12150 + 1/13122 + 1/-15625 + 3/15625 + 1/-16875 + 1/18225 + 1/-18750 + 1/19683 + 1/-20250 + 2/-31250 + 3/31250 + 1/32805 + 1/33750 + 1/39366 + 2/46875 + 1/-46875 + 1/50625 + 1/54675 + 1/-56250 + 2/59049 + 1/-60750 + 2/62500 + 3/78125 + 2/-78125 + 3/93750 + 2/-93750 + 2/98415 + 1/118098 + 1/140625 + 1/-140625 + 1/-151875 + 8/156250 + 3/-156250 + 1/164025 + 1/-164025 + 1/-168750 + 1/177147 + 1/-182250 + 1/196830 + 1/-196830 + 7/234375 + 3/-234375 + 1/-253125 + 1/273375 + 2/281250 + 2/295245 + 1/-295245 + 1/-303750 + 2/328050 + 7/390625 + 3/-390625 + 2/421875 + 1/-421875 + 1/-455625 + 1/468750 + 3/-468750 + 3/492075 + 1/-506250 + 1/546750 + 1/-590490 + 1/703125 + 1/-703125 + 2/-759375 + 4/-781250 + 1/810000 + 3/820125 + 1/-843750 + 1/-911250 + 2/-937500 + 1/-984150 + 1/984150 + 5/-1171875 + 3/-1265625 + 1/-1366875 + 2/1366875 + 1/-1406250 + 1/1476225 + 1/1640250 + 1/-1640250 + 1/-1771470 + 4/-1953125 + 1/-2109375 + 1/-2278125 + 6/-2343750 + 2/2343750 + 1/-2460375 + 2/2460375 + 1/-2531250 + 1/2531250 + 2/-2733750 + 1/-2952450 + 1/-3515625 + 2/-3796875 + 3/-3906250 + 1/3906250 + 1/-4100625 + 1/4100625 + 1/-4218750 + 1/-4920750 + 1/5859375 + 4/-5859375 + 1/6328125 + 2/-6328125 + 1/-6834375 + 1/7031250 + 1/-7031250 + 2/7593750 + 6/7812500 + 1/-8201250 + 1/9765625 + 4/-9765625 + 2/-10546875 + 1/-11390625 + 10/11718750 + 3/-11718750 + 1/-12301875 + 2/12656250 + 1/-14762250 + 5/-17578125 + 2/17578125 + 1/18984375 + 12/19531250 + 3/-19531250 + 1/-20503125 + 1/-24603750 + 7/-29296875 + 7/29296875 + 1/31640625 + 1/-34171875 + 1/35156250 + 1/37968750 + 2/41006250 + 4/-48828125 + 6/48828125 + 1/52734375 + 1/-52734375 + 1/-56953125 + 4/58593750 + 4/-58593750 + 1/63281250 + 4/-87890625 + 1/87890625 + 7/97656250 + 2/-97656250 + 1/105468750 + 18/-117187500 + 1/123018750 + 6/-146484375 + 6/146484375 + 13/-175781250 + 4/175781250 + 1/-189843750 + 16/195312500 + 1/205031250 + 7/244140625 + 3/-244140625 + 20/292968750 + 24/-292968750 + 1/341718750 + 12/351562500 + 7/-439453125 + 1/439453125 + 2/-488281250 + 33/488281250 + 1/-527343750 + 13/527343750 + 16/732421875 + 9/-732421875 + 18/878906250 + 2/-1220703125 + 16/1220703125 + 3/1318359375 + 2/1464843750 + 7/-1464843750 + 12/1757812500 + 3/2197265625 + 32/-2929687500 + 7/4394531250 + 16/-4394531250 + 12/-5273437500 + 2/7324218750 + 32/-7324218750 + 3/-13183593750 + 16/43945312500
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 3/625 + 1/675 + 1/729 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 4/3125 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/6250 + 1/6561 + 1/-9375 + 1/10935 + 1/-11250 + 1/-12150 + 1/13122 + 3/15625 + 3/-15625 + 1/-16875 + 1/18225 + 1/-18750 + 1/19683 + 1/-20250 + 1/32805 + 1/33750 + 1/39366 + 2/-46875 + 2/46875 + 1/50625 + 2/54675 + 1/-56250 + 2/59049 + 1/-60750 + 7/78125 + 2/98415 + 1/118098 + 2/140625 + 1/-140625 + 1/-151875 + 1/-164025 + 1/-168750 + 1/177147 + 1/-182250 + 1/196830 + 1/-196830 + 1/-234375 + 7/234375 + 1/-253125 + 2/273375 + 2/295245 + 1/-295245 + 1/-303750 + 6/-390625 + 7/390625 + 2/421875 + 2/-421875 + 1/-455625 + 1/468750 + 1/-468750 + 1/-506250 + 1/546750 + 1/-590490 + 1/703125 + 1/-703125 + 2/-759375 + 1/810000 + 1/-843750 + 1/-911250 + 1/-984150 + 1/984150 + 2/1171875 + 2/-1366875 + 2/1366875 + 1/-1406250 + 1/1476225 + 1/1640250 + 1/-1640250 + 1/-1771470 + 2/1953125 + 8/-1953125 + 1/-2109375 + 1/-2278125 + 1/-2460375 + 2/2460375 + 1/-2531250 + 1/2531250 + 1/-2952450 + 2/-3515625 + 2/-3796875 + 1/3796875 + 1/-4100625 + 1/4100625 + 1/-4218750 + 1/-4920750 + 4/-5859375 + 1/5859375 + 2/6328125 + 2/-6328125 + 1/-6834375 + 1/-7031250 + 1/7031250 + 1/-8201250 + 11/9765625 + 2/-10546875 + 1/-11390625 + 1/-12301875 + 1/-14762250 + 2/17578125 + 1/18984375 + 1/-20503125 + 1/20503125 + 1/-24603750 + 1/29296875 + 1/31640625 + 1/-34171875 + 1/35156250 + 1/37968750 + 13/48828125 + 11/-48828125 + 1/52734375 + 1/-52734375 + 1/-56953125 + 1/63281250 + 4/-87890625 + 7/97656250 + 1/105468750 + 1/123018750 + 1/146484375 + 13/-175781250 + 1/-189843750 + 1/205031250 + 13/244140625 + 7/-244140625 + 1/341718750 + 8/-439453125 + 2/439453125 + 33/488281250 + 1/-527343750 + 13/527343750 + 8/-732421875 + 2/-1220703125 + 16/1220703125 + 7/-1464843750 + 8/-2197265625 + 16/-3662109375 + 1/3662109375 + 7/4394531250 + 1/-4394531250 + 4/10986328125
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 2/375 + 1/405 + 1/486 + 3/625 + 1/675 + 1/729 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 4/3125 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/6250 + 1/6561 + 1/-9375 + 1/10935 + 1/-11250 + 1/-12150 + 1/13122 + 1/-16875 + 1/18225 + 1/-18750 + 1/19683 + 1/-20250 + 1/32805 + 1/33750 + 1/39366 + 1/50625 + 2/54675 + 1/-56250 + 2/59049 + 1/-60750 + 7/78125 + 2/98415 + 1/118098 + 2/140625 + 1/-140625 + 1/-151875 + 1/-164025 + 1/-168750 + 1/177147 + 1/-182250 + 1/-234375 + 7/234375 + 1/-253125 + 2/273375 + 2/295245 + 1/-295245 + 1/-303750 + 6/-390625 + 7/390625 + 1/-455625 + 1/-506250 + 1/546750 + 1/-590490 + 2/-759375 + 1/810000 + 1/-843750 + 1/-911250 + 2/1171875 + 1/-1406250 + 1/1476225 + 1/-1771470 + 2/1953125 + 8/-1953125 + 1/-2109375 + 1/-2278125 + 1/-2460375 + 2/2460375 + 1/-2952450 + 2/-3515625 + 2/-3796875 + 1/3796875 + 1/-4218750 + 1/-4920750 + 4/-5859375 + 1/5859375 + 1/-6834375 + 1/-8201250 + 11/9765625 + 2/-10546875 + 1/-11390625 + 1/-12301875 + 1/-14762250 + 2/17578125 + 1/18984375 + 1/-24603750 + 1/29296875 + 1/31640625 + 1/-34171875 + 1/35156250 + 1/37968750 + 13/48828125 + 11/-48828125 + 1/-56953125 + 1/63281250 + 4/-87890625 + 7/97656250 + 1/105468750 + 1/123018750 + 1/146484375 + 13/-175781250 + 1/-189843750 + 1/205031250 + 13/244140625 + 7/-244140625 + 1/341718750 + 8/-439453125 + 2/439453125 + 33/488281250 + 1/-527343750 + 13/527343750 + 8/-732421875 + 2/-1220703125 + 16/1220703125 + 7/-1464843750 + 8/-2197265625 + 16/-3662109375 + 1/3662109375 + 7/4394531250 + 1/-4394531250 + 4/10986328125
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 2/1125 + 1/1215 + 2/1250 + 1/1350 + 1/1458 + 1/1800 + 3/1875 + 1/2025 + 1/2187 + 3/3125 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 4/6250 + 1/6561 + 1/-9375 + 3/9375 + 1/10935 + 2/-11250 + 1/-12150 + 1/13122 + 3/15625 + 1/-16875 + 1/18225 + 3/-18750 + 1/19683 + 1/-20250 + 1/32805 + 1/33750 + 1/39366 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 1/78125 + 3/-93750 + 1/98415 + 1/109350 + 2/118098 + 1/140625 + 1/-140625 + 1/-151875 + 6/156250 + 1/164025 + 1/-164025 + 1/-168750 + 2/177147 + 1/-182250 + 1/196830 + 7/234375 + 1/-234375 + 1/-253125 + 2/273375 + 1/281250 + 3/295245 + 1/-295245 + 1/-303750 + 7/390625 + 1/-390625 + 1/421875 + 1/-455625 + 6/468750 + 1/492075 + 1/-506250 + 2/546750 + 1/590490 + 1/-590490 + 7/703125 + 1/-759375 + 6/781250 + 5/-781250 + 1/810000 + 1/820125 + 1/-843750 + 1/885735 + 1/-911250 + 13/1171875 + 5/-1171875 + 1/1366875 + 1/-1406250 + 2/1476225 + 1/-1518750 + 1/-1640250 + 2/-1771470 + 7/1953125 + 6/-1953125 + 1/-2109375 + 2/-2278125 + 6/-2343750 + 1/2343750 + 1/-2460375 + 1/2460375 + 2/-2952450 + 1/3515625 + 1/-3515625 + 2/-3796875 + 1/3796875 + 7/-3906250 + 1/3906250 + 2/-4218750 + 1/-4920750 + 1/4920750 + 3/5859375 + 8/-5859375 + 1/-6834375 + 7/-7031250 + 1/7381125 + 1/-7593750 + 2/-8201250 + 1/-8857350 + 2/9765625 + 7/-9765625 + 2/-10546875 + 2/-11390625 + 5/11718750 + 9/-11718750 + 1/12301875 + 1/-12301875 + 1/-14762250 + 4/-17578125 + 1/17578125 + 1/-18984375 + 1/18984375 + 10/19531250 + 1/-21093750 + 1/22781250 + 1/-24603750 + 3/-29296875 + 11/29296875 + 1/31640625 + 1/-31640625 + 1/-34171875 + 2/35156250 + 1/-35156250 + 1/37968750 + 1/-48828125 + 11/48828125 + 1/52734375 + 1/-52734375 + 1/-56953125 + 7/58593750 + 1/-58593750 + 1/63281250 + 1/-73811250 + 1/-87890625 + 1/87890625 + 13/97656250 + 10/-97656250 + 2/105468750 + 1/113906250 + 1/123018750 + 10/-146484375 + 13/146484375 + 4/-175781250 + 3/175781250 + 1/-189843750 + 6/195312500 + 1/205031250 + 13/244140625 + 11/-244140625 + 3/-263671875 + 6/292968750 + 10/-292968750 + 1/316406250 + 1/341718750 + 12/-351562500 + 4/-439453125 + 1/439453125 + 6/-488281250 + 19/488281250 + 14/-527343750 + 1/527343750 + 12/732421875 + 7/-732421875 + 19/-878906250 + 1/878906250 + 32/976562500 + 12/1054687500 + 7/-1220703125 + 13/1220703125 + 7/-1318359375 + 1/1318359375 + 42/1464843750 + 20/-1464843750 + 12/1582031250 + 15/-2197265625 + 1/2197265625 + 47/2441406250 + 1/-2441406250 + 15/2636718750 + 12/-2929687500 + 9/-3662109375 + 16/3662109375 + 1/4394531250 + 14/-4394531250 + 12/5273437500 + 1/-6103515625 + 15/6103515625 + 7/-6591796875 + 6/7324218750 + 33/-7324218750 + 6/8789062500 + 22/-10986328125 + 1/10986328125 + 13/13183593750 + 1/-13183593750 + 32/-14648437500 + 12/-15820312500 + 15/-18310546875 + 16/21972656250 + 3/32958984375 + 15/-36621093750 + 1/36621093750 + 6/43945312500 + 3/54931640625 + 7/65917968750 + 15/109863281250 + 6/-131835937500 + 3/-329589843750
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 3/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 2/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 6/3125 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/-5625 + 1/6075 + 1/-6250 + 1/6561 + 1/-9375 + 1/10935 + 1/-12150 + 1/13122 + 4/15625 + 1/-16875 + 1/18225 + 1/19683 + 1/-20250 + 1/-31250 + 1/32805 + 1/33750 + 1/39366 + 1/50625 + 1/54675 + 1/-56250 + 2/59049 + 1/-60750 + 2/78125 + 1/91125 + 2/98415 + 1/109350 + 1/140625 + 1/-140625 + 1/-151875 + 1/-156250 + 1/164025 + 1/-164025 + 1/-168750 + 2/177147 + 1/-182250 + 1/196830 + 2/-234375 + 7/234375 + 1/-253125 + 1/281250 + 1/-295245 + 1/-303750 + 3/-390625 + 2/390625 + 1/421875 + 1/-455625 + 1/492075 + 1/-506250 + 1/-590490 + 1/590490 + 7/703125 + 1/-759375 + 1/810000 + 1/820125 + 1/-843750 + 1/885735 + 1/-885735 + 1/-911250 + 14/1171875 + 1/1366875 + 1/-1406250 + 2/1476225 + 1/-1476225 + 1/-1518750 + 1/-1640250 + 8/-1953125 + 2/-2109375 + 2/-2278125 + 1/-2460375 + 1/2460375 + 1/3515625 + 1/-3515625 + 2/-3796875 + 1/3796875 + 1/3906250 + 1/-4100625 + 1/-4920750 + 1/4920750 + 8/-5859375 + 1/-6834375 + 7/-7031250 + 1/7381125 + 1/-7593750 + 1/-8857350 + 6/9765625 + 2/-10546875 + 2/-11390625 + 1/12301875 + 1/-12301875 + 1/-14762250 + 4/-17578125 + 2/17578125 + 1/18984375 + 1/-18984375 + 1/-21093750 + 1/22781250 + 1/-24603750 + 4/-29296875 + 1/31640625 + 1/-31640625 + 1/-34171875 + 1/-35156250 + 1/37968750 + 2/52734375 + 1/-52734375 + 1/-56953125 + 1/-58593750 + 1/63281250 + 1/-73811250 + 4/-87890625 + 2/87890625 + 1/113906250 + 1/123018750 + 13/146484375 + 1/175781250 + 1/-189843750 + 1/205031250 + 32/244140625 + 2/263671875 + 7/-263671875 + 1/316406250 + 1/341718750 + 4/-439453125 + 2/439453125 + 19/488281250 + 1/527343750 + 1/732421875 + 7/-732421875 + 19/-878906250 + 1/878906250 + 11/-1220703125 + 17/1220703125 + 8/-1318359375 + 1/1318359375 + 1/1464843750 + 7/-2197265625 + 13/-2441406250 + 47/2441406250 + 8/-3662109375 + 17/3662109375 + 1/4394531250 + 1/-6103515625 + 7/-6591796875 + 22/-10986328125 + 13/13183593750 + 1/-13183593750 + 1/18310546875 + 1/-21972656250 + 1/36621093750 + 7/65917968750 + 1/-109863281250
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 3/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 2/1125 + 1/1215 + 1/1350 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 6/3125 + 1/3645 + 1/3750 + 1/4374 + 1/6075 + 1/-6250 + 1/6561 + 1/-9375 + 1/10935 + 1/-12150 + 1/13122 + 4/15625 + 1/-16875 + 1/18225 + 1/19683 + 1/-20250 + 1/-31250 + 1/32805 + 1/33750 + 1/39366 + 1/50625 + 1/54675 + 1/-56250 + 2/59049 + 1/-60750 + 2/78125 + 1/91125 + 2/98415 + 1/109350 + 1/-151875 + 1/-156250 + 1/-168750 + 2/177147 + 1/-182250 + 1/196830 + 7/234375 + 2/-234375 + 1/-253125 + 1/281250 + 1/-295245 + 1/-303750 + 2/390625 + 3/-390625 + 1/421875 + 1/-455625 + 1/492075 + 1/-506250 + 7/703125 + 1/-759375 + 1/810000 + 1/820125 + 1/-843750 + 1/-911250 + 14/1171875 + 1/1366875 + 1/-1406250 + 1/-1476225 + 2/1476225 + 1/-1518750 + 1/-1640250 + 8/-1953125 + 2/-2109375 + 2/-2278125 + 2/-3796875 + 1/3796875 + 1/3906250 + 1/-4100625 + 8/-5859375 + 1/-6834375 + 7/-7031250 + 1/7381125 + 1/-7593750 + 1/-8857350 + 6/9765625 + 2/-10546875 + 2/-11390625 + 1/-14762250 + 4/-17578125 + 2/17578125 + 1/-21093750 + 1/22781250 + 1/-24603750 + 4/-29296875 + 1/-34171875 + 1/-35156250 + 1/37968750 + 2/52734375 + 1/-52734375 + 1/-56953125 + 1/-58593750 + 1/63281250 + 1/-73811250 + 4/-87890625 + 2/87890625 + 1/113906250 + 1/123018750 + 13/146484375 + 1/175781250 + 1/-189843750 + 1/205031250 + 32/244140625 + 2/263671875 + 7/-263671875 + 1/316406250 + 1/341718750 + 4/-439453125 + 2/439453125 + 19/488281250 + 1/527343750 + 1/732421875 + 7/-732421875 + 19/-878906250 + 1/878906250 + 11/-1220703125 + 17/1220703125 + 8/-1318359375 + 1/1318359375 + 1/1464843750 + 7/-2197265625 + 47/2441406250 + 13/-2441406250 + 8/-3662109375 + 17/3662109375 + 1/4394531250 + 1/-6103515625 + 7/-6591796875 + 22/-10986328125 + 13/13183593750 + 1/-13183593750 + 1/18310546875 + 1/-21972656250 + 1/36621093750 + 7/65917968750 + 1/-109863281250
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 2/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 3/3125 + 1/3375 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/-6250 + 5/6250 + 1/6561 + 1/-9375 + 5/9375 + 1/10935 + 1/-12150 + 1/13122 + 6/15625 + 1/-16875 + 1/18225 + 2/-18750 + 1/19683 + 1/-20250 + 1/-31250 + 3/31250 + 1/32805 + 1/-33750 + 1/33750 + 1/39366 + 3/46875 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 4/78125 + 1/91125 + 5/-93750 + 1/98415 + 1/109350 + 1/118098 + 1/-151875 + 1/156250 + 1/-156250 + 1/-168750 + 2/177147 + 1/-182250 + 2/196830 + 2/234375 + 1/-234375 + 1/-253125 + 1/281250 + 2/295245 + 1/-295245 + 1/-303750 + 1/354294 + 2/390625 + 1/-390625 + 1/421875 + 1/-455625 + 6/468750 + 4/-468750 + 2/492075 + 1/-506250 + 1/531441 + 7/703125 + 1/-703125 + 1/-759375 + 1/781250 + 2/-781250 + 1/810000 + 1/820125 + 1/-843750 + 1/885735 + 1/-911250 + 8/1171875 + 3/-1171875 + 1/1366875 + 1/-1406250 + 6/1406250 + 1/-1476225 + 1/1476225 + 1/-1518750 + 1/-1640250 + 1/-1771470 + 1/1953125 + 3/-1953125 + 6/2109375 + 1/-2109375 + 1/-2278125 + 1/-2343750 + 13/2343750 + 1/2952450 + 1/-2952450 + 19/3515625 + 1/-3796875 + 1/3796875 + 7/-3906250 + 1/3906250 + 1/-4100625 + 1/-4218750 + 1/4428675 + 1/-4556250 + 1/-5314410 + 13/5859375 + 8/-5859375 + 1/-6328125 + 2/-6834375 + 1/7031250 + 7/-7031250 + 2/7381125 + 2/-7593750 + 1/-8857350 + 1/9765625 + 7/-9765625 + 2/-10546875 + 3/-11390625 + 2/11718750 + 8/-11718750 + 6/-14062500 + 1/-14762250 + 8/-17578125 + 1/17578125 + 1/-18984375 + 5/19531250 + 14/-21093750 + 1/-22781250 + 1/22781250 + 1/-24603750 + 8/-29296875 + 5/29296875 + 1/-31640625 + 2/-34171875 + 1/35156250 + 23/-35156250 + 1/37968750 + 1/-44286750 + 5/48828125 + 2/52734375 + 5/-52734375 + 2/-56953125 + 7/58593750 + 4/-58593750 + 2/63281250 + 1/68343750 + 1/-73811250 + 7/-87890625 + 2/87890625 + 1/105468750 + 2/113906250 + 1/123018750 + 3/-146484375 + 1/146484375 + 1/158203125 + 3/-175781250 + 9/175781250 + 1/-189843750 + 1/205031250 + 6/210937500 + 1/244140625 + 3/263671875 + 4/-263671875 + 12/292968750 + 5/-292968750 + 2/316406250 + 2/341718750 + 4/-439453125 + 14/439453125 + 32/488281250 + 7/-527343750 + 5/527343750 + 44/732421875 + 1/-732421875 + 6/-791015625 + 1/791015625 + 4/-878906250 + 5/878906250 + 18/976562500 + 1/-1220703125 + 32/1220703125 + 10/-1318359375 + 3/1318359375 + 19/1464843750 + 6/-1464843750 + 1/-1582031250 + 18/-1757812500 + 10/-2197265625 + 1/2197265625 + 35/2441406250 + 11/-2441406250 + 26/-2636718750 + 3/2636718750 + 17/-3662109375 + 17/3662109375 + 7/-3955078125 + 1/4394531250 + 36/-4394531250 + 46/4882812500 + 12/-4882812500 + 11/-6103515625 + 16/6103515625 + 14/-6591796875 + 62/7324218750 + 50/-7324218750 + 6/7910156250 + 1/-7910156250 + 14/-10986328125 + 16/10986328125 + 12/-12207031250 + 46/12207031250 + 4/13183593750 + 8/-13183593750 + 18/-14648437500 + 7/-18310546875 + 17/18310546875 + 6/-19775390625 + 22/-21972656250 + 6/21972656250 + 30/26367187500 + 27/-32958984375 + 16/-36621093750 + 11/36621093750 + 19/39550781250 + 21/-54931640625 + 19/65917968750 + 12/73242187500 + 46/-73242187500 + 17/-109863281250 + 7/109863281250 + 6/131835937500 + 12/197753906250 + 27/329589843750 + 12/-395507812500 + 6/-1977539062500
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 3/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 1/2250 + 3/3125 + 1/3375 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/-6250 + 1/6561 + 2/-9375 + 1/10935 + 1/-12150 + 1/13122 + 8/15625 + 1/-16875 + 1/18225 + 1/-18750 + 1/19683 + 1/-20250 + 1/-31250 + 3/31250 + 1/32805 + 1/33750 + 1/-33750 + 1/39366 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 2/78125 + 1/-78125 + 1/91125 + 2/98415 + 1/109350 + 1/118098 + 1/-151875 + 1/156250 + 1/-156250 + 1/-168750 + 2/177147 + 1/-182250 + 1/-253125 + 1/281250 + 2/295245 + 1/-295245 + 1/-303750 + 1/354294 + 3/-390625 + 3/390625 + 1/421875 + 1/-455625 + 2/492075 + 1/-506250 + 1/531441 + 2/-703125 + 1/-759375 + 1/781250 + 1/810000 + 1/820125 + 1/-843750 + 1/885735 + 1/-911250 + 1/-1171875 + 8/1171875 + 1/-1265625 + 1/1366875 + 1/-1406250 + 1/1476225 + 1/-1476225 + 1/-1518750 + 1/-1640250 + 1/-1771470 + 2/1953125 + 7/-1953125 + 1/-2278125 + 13/2343750 + 1/2952450 + 1/-2952450 + 19/3515625 + 1/3796875 + 7/-3906250 + 1/-4100625 + 1/-4218750 + 1/4428675 + 1/-4556250 + 1/-5314410 + 2/-5859375 + 1/5859375 + 1/-6328125 + 2/-6834375 + 7/-7031250 + 1/7031250 + 2/7381125 + 1/-8857350 + 7/-9765625 + 3/9765625 + 1/-14762250 + 8/-17578125 + 1/-18984375 + 1/19531250 + 1/-22781250 + 1/22781250 + 1/-24603750 + 1/-29296875 + 2/29296875 + 1/31640625 + 1/-31640625 + 2/-34171875 + 23/-35156250 + 1/37968750 + 1/-44286750 + 2/48828125 + 2/-48828125 + 1/56953125 + 2/-56953125 + 7/58593750 + 1/68343750 + 1/-73811250 + 7/-87890625 + 1/-97656250 + 1/123018750 + 1/-146484375 + 1/146484375 + 2/158203125 + 1/170859375 + 1/175781250 + 1/-189843750 + 1/205031250 + 8/244140625 + 4/-244140625 + 8/-263671875 + 1/439453125 + 7/-527343750 + 44/732421875 + 1/-732421875 + 1/791015625 + 7/-1220703125 + 17/-1318359375 + 1/1318359375 + 19/1464843750 + 1/-1582031250 + 1/2197265625 + 23/2441406250 + 17/-3662109375 + 49/3662109375 + 7/-3955078125 + 1/4394531250 + 17/-6103515625 + 2/6591796875 + 1/-7910156250 + 16/10986328125 + 1/12207031250 + 22/-18310546875 + 17/18310546875 + 1/21972656250 + 1/-32958984375 + 2/32958984375 + 23/-36621093750 + 11/36621093750 + 19/39550781250 + 19/65917968750 + 17/-109863281250 + 7/109863281250 + 1/-329589843750
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 3/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/2025 + 1/2187 + 1/2250 + 3/3125 + 1/3375 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/-6250 + 1/6561 + 2/-9375 + 1/10935 + 1/-12150 + 1/13122 + 8/15625 + 1/-16875 + 1/18225 + 1/-18750 + 1/19683 + 1/-20250 + 3/31250 + 1/-31250 + 1/32805 + 1/39366 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 2/78125 + 1/-78125 + 1/91125 + 2/98415 + 1/109350 + 1/118098 + 1/-151875 + 1/-168750 + 2/177147 + 1/-182250 + 1/-253125 + 1/281250 + 2/295245 + 1/-295245 + 1/-303750 + 1/354294 + 1/421875 + 1/-455625 + 2/492075 + 1/-506250 + 1/531441 + 2/-703125 + 1/-759375 + 1/781250 + 1/810000 + 1/820125 + 1/-843750 + 1/885735 + 1/-911250 + 1/-1171875 + 8/1171875 + 1/-1265625 + 1/1366875 + 1/-1406250 + 1/-1518750 + 1/-1640250 + 1/-1771470 + 2/1953125 + 7/-1953125 + 1/-2278125 + 13/2343750 + 19/3515625 + 1/3796875 + 7/-3906250 + 1/-4100625 + 1/-4218750 + 1/4428675 + 1/-4556250 + 1/-5314410 + 2/-5859375 + 1/5859375 + 1/-6328125 + 2/-6834375 + 7/-7031250 + 1/7031250 + 2/7381125 + 1/-8857350 + 7/-9765625 + 3/9765625 + 1/-14762250 + 8/-17578125 + 1/-18984375 + 1/19531250 + 1/-24603750 + 1/-29296875 + 2/29296875 + 2/-34171875 + 23/-35156250 + 1/37968750 + 1/-44286750 + 1/56953125 + 2/-56953125 + 7/58593750 + 1/68343750 + 1/-73811250 + 7/-87890625 + 1/-97656250 + 1/123018750 + 2/158203125 + 1/170859375 + 1/175781250 + 1/-189843750 + 1/205031250 + 8/244140625 + 4/-244140625 + 8/-263671875 + 1/439453125 + 7/-527343750 + 44/732421875 + 1/-732421875 + 1/791015625 + 7/-1220703125 + 17/-1318359375 + 1/1318359375 + 19/1464843750 + 1/-1582031250 + 1/2197265625 + 23/2441406250 + 17/-3662109375 + 49/3662109375 + 7/-3955078125 + 1/4394531250 + 17/-6103515625 + 2/6591796875 + 1/-7910156250 + 16/10986328125 + 1/12207031250 + 22/-18310546875 + 17/18310546875 + 1/21972656250 + 1/-32958984375 + 2/32958984375 + 23/-36621093750 + 11/36621093750 + 19/39550781250 + 19/65917968750 + 17/-109863281250 + 7/109863281250 + 1/-329589843750
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 3/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 3/3125 + 1/3375 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/-6250 + 2/6250 + 1/6561 + 1/-9375 + 2/9375 + 1/10935 + 1/-12150 + 1/13122 + 3/15625 + 1/-16875 + 1/18225 + 4/-18750 + 1/19683 + 1/-20250 + 1/-28125 + 1/-31250 + 8/31250 + 1/32805 + 1/39366 + 7/46875 + 1/-46875 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 2/62500 + 8/78125 + 1/-78125 + 1/91125 + 2/93750 + 2/-93750 + 1/98415 + 1/109350 + 1/118098 + 1/-151875 + 3/156250 + 1/-168750 + 1/177147 + 1/-182250 + 1/196830 + 1/234375 + 1/-253125 + 2/281250 + 2/295245 + 1/-295245 + 1/-303750 + 2/354294 + 1/390625 + 1/421875 + 1/-455625 + 7/-468750 + 2/492075 + 1/-506250 + 2/531441 + 1/590490 + 1/-703125 + 1/-759375 + 1/781250 + 1/810000 + 1/820125 + 1/-843750 + 3/885735 + 1/-911250 + 2/-937500 + 1/984150 + 1/1171875 + 1/-1171875 + 1/-1265625 + 1/1366875 + 2/-1406250 + 2/1476225 + 1/-1518750 + 1/-1640250 + 1/-1771470 + 1/1953125 + 1/-1953125 + 1/-2109375 + 1/-2278125 + 1/-2343750 + 8/2343750 + 1/2460375 + 1/-2952450 + 8/3515625 + 1/-3515625 + 1/3796875 + 7/-3906250 + 1/3906250 + 1/-4100625 + 1/-4218750 + 1/4428675 + 1/-4556250 + 12/4687500 + 2/-5314410 + 9/5859375 + 7/-5859375 + 1/-6328125 + 1/-6834375 + 31/7031250 + 1/-7031250 + 1/7381125 + 6/-7812500 + 2/-8857350 + 2/9765625 + 7/-9765625 + 18/10546875 + 12/11718750 + 7/-11718750 + 1/-13668750 + 6/-14062500 + 1/14762250 + 2/-14762250 + 2/-17578125 + 18/17578125 + 1/-18984375 + 3/19531250 + 12/-19531250 + 1/-20503125 + 6/-21093750 + 1/21093750 + 1/22143375 + 1/-24603750 + 8/-29296875 + 3/29296875 + 2/-34171875 + 21/-35156250 + 1/36905625 + 1/37968750 + 1/-44286750 + 6/-48828125 + 2/48828125 + 7/-52734375 + 1/56953125 + 1/-56953125 + 8/58593750 + 1/-58593750 + 1/68343750 + 1/-68343750 + 34/-70312500 + 1/-73811250 + 8/-87890625 + 1/87890625 + 1/-97656250 + 1/-102515625 + 40/-105468750 + 1/-113906250 + 12/117187500 + 1/123018750 + 1/146484375 + 1/158203125 + 2/-170859375 + 1/170859375 + 28/-175781250 + 8/175781250 + 1/-189843750 + 2/205031250 + 6/210937500 + 1/-221433750 + 1/244140625 + 1/-244140625 + 7/-263671875 + 1/-284765625 + 12/292968750 + 2/-292968750 + 1/316406250 + 6/-439453125 + 1/439453125 + 1/474609375 + 3/-488281250 + 7/488281250 + 8/-527343750 + 7/527343750 + 8/732421875 + 4/-732421875 + 7/-791015625 + 2/791015625 + 1/-878906250 + 1/1025156250 + 6/-1054687500 + 22/1054687500 + 4/-1220703125 + 7/1220703125 + 8/-1318359375 + 1/1318359375 + 44/1464843750 + 7/-1582031250 + 1/1708593750 + 6/-1757812500 + 44/2197265625 + 1/2441406250 + 6/-2441406250 + 22/-2636718750 + 6/2636718750 + 18/2929687500 + 7/-3662109375 + 44/3662109375 + 17/-3955078125 + 19/4394531250 + 1/-4746093750 + 22/4882812500 + 7/-6103515625 + 1/6591796875 + 16/-6591796875 + 91/7324218750 + 23/-7324218750 + 7/7910156250 + 7/-7910156250 + 16/-10986328125 + 49/10986328125 + 6/-11865234375 + 16/-12207031250 + 23/12207031250 + 1/13183593750 + 6/15820312500 + 33/-18310546875 + 49/18310546875 + 1/19775390625 + 6/-19775390625 + 43/-21972656250 + 16/21972656250 + 16/-30517578125 + 1/-32958984375 + 17/32958984375 + 22/-36621093750 + 23/36621093750 + 17/39550781250 + 18/-43945312500 + 31/54931640625 + 21/-54931640625 + 2/65917968750 + 10/73242187500 + 44/-73242187500 + 18/79101562500 + 21/-91552734375 + 16/91552734375 + 1/98876953125 + 71/-109863281250 + 27/109863281250 + 24/118652343750 + 18/131835937500 + 1/164794921875 + 26/183105468750 + 22/-183105468750 + 36/197753906250 + 1/-197753906250 + 16/-219726562500 + 6/219726562500 + 24/329589843750 + 32/-329589843750 + 32/-549316406250 + 27/549316406250 + 1/-988769531250 + 10/-1098632812500 + 22/1098632812500 + 18/-1186523437500 + 18/-1977539062500 + 16/3295898437500 + 6/-3295898437500
step 2: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 3/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 4/3125 + 1/-3125 + 1/3375 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/-6250 + 1/6561 + 2/9375 + 1/10935 + 1/-12150 + 1/13122 + 7/15625 + 1/-16875 + 1/18225 + 1/19683 + 1/-20250 + 1/-28125 + 1/-31250 + 1/31250 + 1/32805 + 1/39366 + 8/46875 + 2/-46875 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 8/78125 + 1/-78125 + 1/91125 + 2/98415 + 1/109350 + 1/118098 + 1/140625 + 1/-151875 + 3/156250 + 1/-168750 + 2/177147 + 1/-182250 + 1/196830 + 1/234375 + 4/-234375 + 1/-253125 + 1/-295245 + 1/-303750 + 2/390625 + 1/-390625 + 1/421875 + 1/-455625 + 2/492075 + 1/-506250 + 2/531441 + 1/590490 + 2/-703125 + 1/-759375 + 1/781250 + 1/810000 + 1/820125 + 1/-843750 + 1/-911250 + 1/984150 + 7/1171875 + 2/-1171875 + 1/-1265625 + 1/1366875 + 2/1476225 + 1/-1518750 + 1/-1640250 + 1/-1771470 + 8/1953125 + 1/-1953125 + 1/-2109375 + 1/-2278125 + 1/2460375 + 1/-2657205 + 1/-2952450 + 8/3515625 + 2/-3515625 + 1/3796875 + 1/3906250 + 1/-4100625 + 1/-4218750 + 1/-4428675 + 1/4428675 + 1/-4556250 + 1/5859375 + 14/-5859375 + 1/-6328125 + 1/-6834375 + 31/7031250 + 1/-7031250 + 1/-7381125 + 1/7381125 + 4/9765625 + 13/-9765625 + 4/-10546875 + 1/-13668750 + 1/14762250 + 2/-17578125 + 1/17578125 + 1/-18984375 + 3/19531250 + 1/-20503125 + 1/21093750 + 1/22143375 + 1/-24603750 + 8/-29296875 + 2/-34171875 + 1/35156250 + 17/-35156250 + 1/36905625 + 1/37968750 + 1/-44286750 + 7/-48828125 + 7/48828125 + 7/-52734375 + 1/56953125 + 1/-56953125 + 1/-58593750 + 1/68343750 + 1/-68343750 + 1/-73811250 + 22/-87890625 + 1/-97656250 + 1/102515625 + 1/-102515625 + 1/-113906250 + 1/123018750 + 1/146484375 + 1/158203125 + 2/-170859375 + 1/170859375 + 1/-175781250 + 1/-189843750 + 1/-221433750 + 1/244140625 + 3/-244140625 + 11/-263671875 + 1/-284765625 + 1/-292968750 + 1/316406250 + 4/439453125 + 1/474609375 + 3/-488281250 + 7/-791015625 + 2/791015625 + 1/-878906250 + 1/1025156250 + 7/-1220703125 + 13/1220703125 + 19/-1318359375 + 1/1318359375 + 7/-1582031250 + 1/1708593750 + 44/2197265625 + 31/2441406250 + 1/-2441406250 + 1/2636718750 + 7/-3662109375 + 68/3662109375 + 19/-3955078125 + 1/3955078125 + 1/-4746093750 + 26/-6103515625 + 17/6103515625 + 1/6591796875 + 23/-7324218750 + 7/7910156250 + 7/-7910156250 + 16/-10986328125 + 1/13183593750 + 29/-18310546875 + 49/18310546875 + 43/-21972656250 + 23/-30517578125 + 1/-32958984375 + 17/39550781250 + 4/-54931640625 + 3/61035156250 + 1/-65917968750 + 11/-91552734375 + 29/91552734375 + 1/98876953125 + 73/-109863281250 + 1/164794921875 + 16/-164794921875 + 1/-197753906250 + 16/-274658203125 + 1/-549316406250 + 11/549316406250 + 4/823974609375 + 1/-988769531250
step 4: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 3/1250 + 1/1350 + 1/1458 + 1/1800 + 2/1875 + 1/2025 + 1/2187 + 1/2250 + 4/3125 + 1/-3125 + 1/3375 + 1/3645 + 1/3750 + 1/4374 + 1/5625 + 1/6075 + 1/-6250 + 1/6561 + 2/9375 + 1/10935 + 1/-12150 + 1/13122 + 7/15625 + 1/-16875 + 1/18225 + 1/19683 + 1/-20250 + 1/-28125 + 1/32805 + 1/39366 + 8/46875 + 2/-46875 + 1/50625 + 1/54675 + 1/-56250 + 1/59049 + 1/-60750 + 8/78125 + 1/-78125 + 1/91125 + 2/98415 + 1/109350 + 1/118098 + 1/140625 + 1/-151875 + 3/156250 + 1/-168750 + 2/177147 + 1/-182250 + 1/196830 + 1/234375 + 4/-234375 + 1/-253125 + 1/-295245 + 1/-303750 + 2/390625 + 1/-390625 + 1/421875 + 1/-455625 + 2/492075 + 1/-506250 + 2/531441 + 1/590490 + 2/-703125 + 1/-759375 + 1/781250 + 1/810000 + 1/820125 + 1/-843750 + 1/-911250 + 1/984150 + 7/1171875 + 2/-1171875 + 1/-1265625 + 1/1366875 + 2/1476225 + 1/-1518750 + 1/-1640250 + 1/-1771470 + 8/1953125 + 1/-1953125 + 1/-2109375 + 1/-2278125 + 1/2460375 + 1/-2657205 + 1/-2952450 + 8/3515625 + 2/-3515625 + 1/3796875 + 1/3906250 + 1/-4100625 + 1/-4218750 + 1/-4556250 + 1/5859375 + 14/-5859375 + 1/-6328125 + 1/-6834375 + 31/7031250 + 1/-7031250 + 4/9765625 + 13/-9765625 + 4/-10546875 + 1/-13668750 + 1/14762250 + 2/-17578125 + 1/17578125 + 1/-18984375 + 3/19531250 + 1/-20503125 + 1/21093750 + 1/22143375 + 1/-24603750 + 8/-29296875 + 2/-34171875 + 1/35156250 + 17/-35156250 + 1/36905625 + 1/37968750 + 1/-44286750 + 7/-52734375 + 1/-58593750 + 1/-73811250 + 22/-87890625 + 1/-97656250 + 1/-113906250 + 1/123018750 + 1/146484375 + 1/158203125 + 2/-170859375 + 1/170859375 + 1/-175781250 + 1/-189843750 + 1/-221433750 + 1/244140625 + 3/-244140625 + 11/-263671875 + 1/-284765625 + 1/-292968750 + 1/316406250 + 4/439453125 + 1/474609375 + 3/-488281250 + 7/-791015625 + 2/791015625 + 1/-878906250 + 1/1025156250 + 7/-1220703125 + 13/1220703125 + 19/-1318359375 + 1/1318359375 + 7/-1582031250 + 1/1708593750 + 44/2197265625 + 31/2441406250 + 1/-2441406250 + 1/2636718750 + 7/-3662109375 + 68/3662109375 + 19/-3955078125 + 1/3955078125 + 1/-4746093750 + 26/-6103515625 + 17/6103515625 + 1/6591796875 + 23/-7324218750 + 16/-10986328125 + 1/13183593750 + 29/-18310546875 + 49/18310546875 + 43/-21972656250 + 23/-30517578125 + 1/-32958984375 + 17/39550781250 + 4/-54931640625 + 3/61035156250 + 1/-65917968750 + 11/-91552734375 + 29/91552734375 + 1/98876953125 + 73/-109863281250 + 1/164794921875 + 16/-164794921875 + 1/-197753906250 + 16/-274658203125 + 11/549316406250 + 1/-549316406250 + 4/823974609375 + 1/-988769531250
step 5: 1/5 + 1/6 + 1/9 + 1/10 + 1/15 + 1/16 + 1/18 + 1/25 + 1/27 + 1/45 + 1/50 + 1/54 + 1/75 + 1/81 + 1/90 + 1/125 + 1/135 + 1/162 + 1/225 + 1/243 + 1/250 + 1/270 + 1/375 + 1/405 + 1/486 + 1/625 + 1/675 + 1/729 + 1/750 + 1/810 + 1/-900 + 1/1125 + 1/1215 + 1/1250 + 1/1350 + 1/1458 + 1/1800 + 1/1875 + 1/2025 + 1/2187 + 1/2250 + 2/2500 + 1/3125 + 1/-3125 + 1/3375 + 1/3645 + 4/3750 + 1/4374 + 2/5625 + 1/6075 + 1/-6250 + 5/6250 + 1/6561 + 5/9375 + 1/10935 + 1/-12150 + 1/13122 + 4/15625 + 1/-16875 + 1/18225 + 1/18750 + 1/19683 + 1/-20250 + 1/-28125 + 1/28125 + 6/31250 + 1/32805 + 2/-37500 + 1/39366 + 8/46875 + 1/-46875 + 1/50625 + 1/54675 + 2/-56250 + 1/59049 + 1/-60750 + 7/78125 + 1/-78125 + 1/91125 + 7/93750 + 4/-93750 + 1/98415 + 1/109350 + 1/118098 + 8/140625 + 1/-140625 + 1/-151875 + 8/156250 + 1/-168750 + 1/177147 + 1/-182250 + 2/196830 + 15/234375 + 2/-234375 + 1/-253125 + 1/-281250 + 1/295245 + 1/-295245 + 1/-303750 + 2/312500 + 1/354294 + 8/390625 + 1/-390625 + 1/421875 + 1/-455625 + 2/468750 + 9/-468750 + 2/492075 + 1/-506250 + 2/531441 + 1/590490 + 4/-703125 + 1/-759375 + 4/781250 + 1/810000 + 1/820125 + 1/-843750 + 1/885735 + 1/-911250 + 2/984150 + 1/1062882 + 2/1171875 + 4/-1171875 + 1/-1265625 + 1/1366875 + 8/-1406250 + 1/1406250 + 2/1476225 + 1/-1518750 + 1/1594323 + 1/-1640250 + 1/-1771470 + 2/1953125 + 1/-1953125 + 2/-2109375 + 1/-2278125 + 8/-2343750 + 6/2343750 + 2/2460375 + 1/2657205 + 1/-2657205 + 1/2952450 + 2/-2952450 + 7/3515625 + 3/-3515625 + 1/3796875 + 8/3906250 + 1/-4100625 + 1/-4218750 + 1/4428675 + 1/-4556250 + 2/-4687500 + 1/-5314410 + 14/5859375 + 2/-5859375 + 1/-6328125 + 1/-6834375 + 11/7031250 + 2/-7031250 + 1/7381125 + 8/9765625 + 1/-9765625 + 2/-10546875 + 7/10546875 + 14/-11718750 + 1/-13668750 + 30/14062500 + 1/14762250 + 1/-14762250 + 1/-15943230 + 15/-17578125 + 8/17578125 + 1/-18984375 + 4/19531250 + 12/-19531250 + 1/-20503125 + 3/-21093750 + 32/21093750 + 1/22143375 + 1/-24603750 + 26/-29296875 + 3/29296875 + 3/-31640625 + 1/-34171875 + 32/35156250 + 8/-35156250 + 1/36905625 + 1/37968750 + 2/39062500 + 2/-44286750 + 12/-48828125 + 3/48828125 + 5/-52734375 + 2/58593750 + 15/-58593750 + 1/-68343750 + 16/-70312500 + 1/-73811250 + 9/-87890625 + 2/97656250 + 1/-97656250 + 1/-102515625 + 29/-105468750 + 1/105468750 + 1/-113906250 + 1/123018750 + 7/-146484375 + 1/146484375 + 6/-158203125 + 1/158203125 + 2/-170859375 + 1/170859375 + 38/-175781250 + 13/175781250 + 1/-189843750 + 30/-210937500 + 1/-221433750 + 1/244140625 + 1/-244140625 + 28/-263671875 + 1/-284765625 + 12/292968750 + 4/-292968750 + 4/316406250 + 1/-341718750 + 21/-439453125 + 1/439453125 + 1/474609375 + 3/-488281250 + 1/-512578125 + 10/-527343750 + 1/527343750 + 2/-585937500 + 2/-732421875 + 11/-791015625 + 1/791015625 + 1/-854296875 + 1/-878906250 + 10/878906250 + 2/-976562500 + 2/1025156250 + 16/1054687500 + 3/-1220703125 + 1/1220703125 + 11/-1318359375 + 4/1318359375 + 2/-1464843750 + 7/-1582031250 + 7/1582031250 + 1/1708593750 + 4/2197265625 + 6/-2373046875 + 1/2373046875 + 13/2441406250 + 9/-2441406250 + 18/-2636718750 + 22/2636718750 + 6/-3164062500 + 7/-3662109375 + 13/3662109375 + 25/-3955078125 + 2/3955078125 + 43/4394531250 + 7/-4746093750 + 30/4882812500 + 1/5125781250 + 7/-6103515625 + 13/6103515625 + 44/6591796875 + 18/-6591796875 + 99/7324218750 + 7/-7324218750 + 10/7910156250 + 24/-7910156250 + 7/-10986328125 + 110/10986328125 + 18/-11865234375 + 25/-12207031250 + 46/12207031250 + 1/13183593750 + 3/-13183593750 + 2/14648437500 + 22/-14648437500 + 32/-18310546875 + 84/18310546875 + 18/-19775390625 + 38/-21972656250 + 1/-23730468750 + 6/23730468750 + 26/-30517578125 + 16/30517578125 + 16/-32958984375 + 62/-36621093750 + 54/36621093750 + 19/39550781250 + 42/-43945312500 + 6/47460937500 + 48/54931640625 + 44/-54931640625 + 1/61035156250 + 22/-61035156250 + 86/-65917968750 + 30/-73242187500 + 16/79101562500 + 51/-91552734375 + 49/91552734375 + 1/98876953125 + 113/-109863281250 + 6/109863281250 + 34/118652343750 + 2/122070312500 + 22/-152587890625 + 1/164794921875 + 4/-164794921875 + 55/183105468750 + 26/-183105468750 + 16/197753906250 + 1/-197753906250 + 72/-219726562500 + 22/219726562500 + 28/274658203125 + 14/-274658203125 + 2/305175781250 + 15/329589843750 + 87/-329589843750 + 28/457763671875 + 10/-457763671875 + 15/-494384765625 + 29/549316406250 + 136/-549316406250 + 42/659179687500 + 1/823974609375 + 30/-823974609375 + 22/915527343750 + 1/-988769531250 + 10/1098632812500 + 16/-1186523437500 + 15/-1373291015625 + 16/1647949218750 + 2/-1831054687500 + 3/2471923828125 + 20/2746582031250 + 28/-2746582031250 + 72/3295898437500 + 3/4119873046875 + 15/4943847656250 + 15/8239746093750 + 10/-16479492187500 + 3/-24719238281250
Reached 20 iterations of steps 1-5; Aborting.
#!/usr/bin/env perl6
my \ff1 = (2, 3, 5, -30);
.say for (ff1, &next-ff ... *)[^3];
#| Generates FF(n) from FF(n-1).
#| Both input and output are represented as a list of denominators.
sub next-ff (@denominators) {
debug-output "Finding FF({2 + $++})...";
my $bag = (@denominators X* @denominators).Bag;
$bag.&converge: {
$bag = $bag.&converge: *.kv.map(&simplify-fraction).flat.pairup.Bag;
debug-output "step 2", $bag;
$bag = $bag.grep({ $bag{-.key} != .value }).Bag;
debug-output "step 4", $bag;
$bag = $bag.kv.map(-> $denominator, $numerator {
$denominator,
(($denominator xx $numerator-1) X* ff1)
}).flat.Bag;
debug-output "step 5", $bag;
debug-output "Reached 20 iterations of steps 1-5; Aborting." and exit
if ++$ == 20;
$bag
}
debug-output "FF({2 + $++}) = [{ $bag.keys.sort(*.abs) }]";
$bag.keys.sort(*.abs).cache
}
#| Simplifies a fraction. (Both input and output are given as two integers.)
sub simplify-fraction ($numerator, $denominator) {
($numerator / $denominator).nude
}
#| Repeatedly applies a function to a value until it doesn't change anymore.
sub converge ($initial, &step) {
($initial, &step ... &[eqv])[*-1]
}
#| Helper function for printing intermediate results to stderr.
multi debug-output ($label, %bag) {
state $last = '';
my $string = %bag.sort(*.key.abs).map({ "{.value}/{.key}" }).join(' + ');
if $last ne $string {
note "$label: $string";
$last = $string;
}
1
}
multi debug-output ($string) {
note "\n$string\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment