Advertisement
Python253

LP_Maths_Dec_Breaks_to_7/7

Apr 24th, 2019
2,698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.           ALSO CHECK OUT: https://pastebin.com/cBxCcL99
  3.             For some ACTUAL Maths...Not LP Maths XD
  4.  
  5.  
  6.         Note:
  7.         The Assumption of finding infinite repeating decimals
  8.         by NOT looking past the first 6 Decimals will result in
  9.         interesting (But incorrect due to lack of precision).
  10.  
  11.           Let us assume the following is TRUE:
  12.          
  13.           0/7 = 0
  14.           1/7 = 0.142857
  15.           2/7 = 0.285714
  16.           3/7 = 0.428571
  17.           4/7 = 0.571428
  18.           5/7 = 0.714285
  19.           6/7 = 0.857142
  20.           7/7 = 1
  21.  
  22.               Input:          Output:
  23.  
  24.  7/7   1.000000 base-10    1.00000000000000000000 base-9  
  25.  
  26.  6/7   0.857142 base-10    0.76376335470335156708 base-9   6
  27.  5/7   0.714285 base-10    0.63763730087728733053 base-9   6
  28.  4/7   0.571428 base-10    0.51251223616223410287 base-9   6
  29.  3/7   0.428571 base-10    0.37637617234617073804 base-9   6
  30.  2/7   0.285714 base-10    0.25125111753111650148 base-9   6
  31.  1/7   0.142857 base-10    0.12512505371505324524 base-9   6
  32.  
  33.  0/0   0.000000 base-10    0.00000000000000000000 base-9  
  34.          
  35.                                                           Reps:
  36.                      1/7   0.11111106576004621400 base-8   6
  37.                      2/7   0.22222215374011443000 base-8   6
  38.                      3/7   0.33333324172016264400 base-8   6
  39.                      4/7   0.44444432770023106000 base-8   6
  40.                      5/7   0.55555541566027727400 base-8   6
  41.                      6/7   0.66666650364034551000 base-8   6
  42.  
  43.                    
  44.                            
  45.                      1/7   0.06666666114344663301 base-7   7
  46.                      2/7   0.16666665232022656602 base-7  n+6
  47.                      3/7   0.26666664346400653215 base-7  n+6
  48.                      4/7   0.36666663464045646514 base-7  n+6
  49.                      5/7   0.46666662611423643110 base-7  n+6
  50.                      6/7   0.56666662026101636423 base-7  n+6        
  51.                      
  52.                                
  53.                            
  54.                      1/7   0.05050504523010132353 base-6   7
  55.                      2/7   0.14141413450020305145 base-6   7
  56.                      3/7   0.23232322413030441542 base-6   7
  57.                      4/7   0.32323231340041014335 base-6   7
  58.                      5/7   0.41414140303051151131 base-6   7
  59.                      6/7   0.50505045230101323524 base-6   6                
  60.                                              
  61.                      
  62.                                
  63.                      1/7   0.03241203224211310020 base-5   9
  64.                      2/7   0.12032412003423120040 base-5   9
  65.                      3/7   0.20324120233134430104 base-5   8
  66.                      4/7   0.24120324012401240124 base-5   8
  67.                      5/7   0.32412032242113100144 base-5   8
  68.                      6/7   0.41203241021324410214 base-5   8              
  69.                      
  70.                      
  71.                          
  72.                      1/7   0.02102102101223330001 base-4  10
  73.                      2/7   0.10210210203113320002 base-4  10
  74.                      3/7   0.12312312311003310010 base-4  10
  75.                      4/7   0.21021021012233300011 base-4  10
  76.                      5/7   0.23123123120123230012 base-4  10
  77.                      6/7   0.31231231222013220013 base-4   9
  78.                      
  79.                      
  80.                          
  81.                      1/7   0.01021201021200121021 base-3  13
  82.                      2/7   0.02120102120101012112 base-3  13
  83.                      3/7   0.10212010212001210211 base-3  13
  84.                      4/7   0.12010212010202102002 base-3  13
  85.                      5/7   0.20102120102110000100 base-3  13
  86.                      6/7   0.21201021201010121121 base-3  12
  87.                      
  88.                      
  89.                  Binary Reps out of range to determine any rep break
  90.                      1/7   0.00100100100100100100 base-2  20+ (001..)
  91.                      2/7   0.01001001001001001001 base-2  20+ (n+100)
  92.                      3/7   0.01101101101101101101 base-2  20+ (011..)
  93.                      4/7   0.10010010010010010010 base-2  20+ (100..)
  94.                      5/7   0.10110110110110110110 base-2  20+ (101..)
  95.                      6/7   0.11011011011011011011 base-2  20+ (110..)
  96.                      
  97.  
  98.           Final Note:
  99.           Most Calculators, Online or otherwise, will only give approximations
  100.           based off a precision of about 13 Decimal places.  This will work in
  101.           most cases where full precision is not needed, but will fail on epic
  102.           levels in other situations.
  103.          
  104.           With ALL things, Do your own research and never blindly assume you
  105.           have been given the solution to a problem because it appears at first
  106.           glance to fit.
  107.           Instead... I challenge you to assume the information
  108.           given is incorrect and then try to show how/when or if this information
  109.           assumed as precise facts actually breaks/fails.
  110.  
  111.           Eg;
  112.           You may believe E=MC^2, but is it really?(Spoiler: No it is not correct)
  113.           But why? and more importantly why do we blindly believe an inaccurate
  114.           theory to be a precise fact?
  115.      
  116.           ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement