********Welcome to Online IDE!! Happy Coding :)********** NOTE: Precision is limited to 19 digit wide... NOTE: Since computational issues, reduction on decimal component EXCEEDING 999999999 (9 digits) will lose its precision by 1 digit. NOTE: Value of acceptedNumeratorLimit = 999999999. This can be changed to speed up most reduced form calculations NOTE: Also to AVOID any Session kills or hanging To create sample of decimals and fractions, original numerator will be divided numerator/prime number from: 2 => 5 DENOMINATOR AND NUMERATOR WILL BOTH BE TRUNCATED INLINE WITH INTEGRITY ORIGINAL INPUTS ****************** is a prime number: 2 is a prime number: 3 is not a prime number: 4 is a prime number: 5 *** The Decimal presented: 0.74500000259999948 The fraction part: 74500000259999948 this is numerator: 74500000259999948 this is denominator: 100000000000000000 Denominator(100000000000000000) considered too large for computation Denominator reduced to 9 digits wide: 100000000 Numerator(74500000259999948) considered too large for computation Numerator reduced to 9 digits wide: 745000002 This is maximum potential Greatest Common Factor(100000000) between Numerator(745000002) Denominator(100000000) This is maximum potential Greatest Common Factor(50000000) between Numerator(372500001) Denominator(50000000) Elapsed time in seconds to reduce fraction: 4.489685737 reduced numerator: 372500001 reduced denominator: 50000000 Fraction presented is: 987000200/1000000200 No whole number before fraction 2Fraction provided in challenge: 987000200/1000000200 might not be correctly reduced (372500001/50000000) 2Original reduced fraction provided 987000200/1000000200 is non- representation of the initial decimal conversion: 0.74500000259999948 1Remaining original fraction(987000200/1000000200) in decimal is 0.9870000025999994 and NOT:0.74500000259999948(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(50000000) has prime factor (divisble by prime number of two or five) 0.74500000259999948 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 987000200/2 Original numerator / PRIME number AS DECIMAL => 4.935001E8 Original numerator / PRIME number AS FRACTION (not reduced) => 987000200/3 Original numerator / PRIME number AS DECIMAL => 3.290000666666667E8 Original numerator / PRIME number AS FRACTION (not reduced) => 987000200/5 Original numerator / PRIME number AS DECIMAL => 1.9740004E8 *** The Decimal presented: 0.77777 The fraction part: 77777 this is numerator: 77777 this is denominator: 100000 This is maximum potential Greatest Common Factor(77777) between Numerator(77777) Denominator(100000) This is maximum potential Greatest Common Factor(77777) between Numerator(77777) Denominator(100000) Elapsed time in seconds to reduce fraction: 0.025856278 reduced numerator: 77777 reduced denominator: 100000 Fraction presented is: 77777/100000 No whole number before fraction fraction provided in challenge is fully reduced: 77777/100000 Original fraction(77777/100000) provided is exact representation of the initial decimal conversion: 0.77777 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(100000) has prime factor (divisble by prime number of two or five) 0.77777 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 77777/2 Original numerator / PRIME number AS DECIMAL => 38888.5 Original numerator / PRIME number AS FRACTION (not reduced) => 77777/3 Original numerator / PRIME number AS DECIMAL => 25925.666666666668 Original numerator / PRIME number AS FRACTION (not reduced) => 77777/5 Original numerator / PRIME number AS DECIMAL => 15555.4 *** The Decimal presented: 0.1111111111111111111 Recurring digit occurs: 19 times Recurring digit through entire decimal: 1 FULL EQUATION ONE: 0.1111111111111111111 FULL EQUATION TWO: 1.1111111111111111111 FULL EQUATION TWO A: 1.0 Fraction of recurring: 1/9 The fraction part: 1111111111111111111 this is numerator: 1111111111111111111 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 10 digits wide: 1000000000due to recurrence numerator Numerator(1111111111111111111) considered too large for computation Numerator reduced to 9 digits wide: 111111111 This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) Elapsed time in seconds to reduce fraction: 9.696663869 reduced numerator: 111111111 reduced denominator: 1000000000 Fraction presented is: 3/27 No whole number before fraction 2Fraction provided in challenge: 3/27 might not be correctly reduced (111111111/1000000000) 2Original reduced fraction provided 3/27 is non- representation of the initial decimal conversion: 0.1111111111111111111 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000000) has prime factor (divisble by prime number of two or five) 0.1111111111111111111 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 3/2 Original numerator / PRIME number AS DECIMAL => 1.5 Original numerator / PRIME number AS FRACTION (not reduced) => 3/3 Original numerator / PRIME number AS DECIMAL => 1.0 Original numerator / PRIME number AS FRACTION (not reduced) => 3/5 Original numerator / PRIME number AS DECIMAL => 0.6 *** The Decimal presented: 0.1111111111111111111 The fraction part: 1111111111111111111 this is numerator: 1111111111111111111 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 10 digits wide: 1000000000due to recurrence numerator Numerator(1111111111111111111) considered too large for computation Numerator reduced to 9 digits wide: 111111111 This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) Elapsed time in seconds to reduce fraction: 6.612132289 reduced numerator: 111111111 reduced denominator: 1000000000 Fraction presented is: 1/9 No whole number before fraction 2Fraction provided in challenge: 1/9 might not be correctly reduced (111111111/1000000000) 2Original reduced fraction provided 1/9 is non- representation of the initial decimal conversion: 0.1111111111111111111 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000000) has prime factor (divisble by prime number of two or five) 0.1111111111111111111 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 0.7777777777777787777 The fraction part: 7777777777777787777 this is numerator: 7777777777777787777 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 9 digits wide: 100000000 Numerator(7777777777777787777) considered too large for computation Numerator reduced to 9 digits wide: 777777777 This is maximum potential Greatest Common Factor(100000000) between Numerator(777777777) Denominator(100000000) This is maximum potential Greatest Common Factor(100000000) between Numerator(777777777) Denominator(100000000) Elapsed time in seconds to reduce fraction: 3.828116884 reduced numerator: 777777777 reduced denominator: 100000000 Fraction presented is: 1-777/100 Whole number before fraction: 1 Original whole number from fraction (numerator/denominator):7 remaining numerator: 77 remaining fraction: 77/100 Fraction provided in challenge is improper: 1-777/100 Mixed number fraction is: 8-77/100 ***Mismatch in whole numbers**** Fraction has following whole number:8 Original decimal has following whole number:0 *********** 2Fraction provided in challenge: 77/100 might not be correctly reduced (777777777/100000000) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(1-777/100)has been changed to proper fraction(8-77/100) Remaining fraction is: 77/100 is non- representation of the initial decimal conversion: 0.7777777777777787777 1Remaining fraction 77/100 in decimal is 0.77 and NOT:0.7777777777777787777(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(100000000) has prime factor (divisble by prime number of two or five) 0.7777777777777787777 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 777/2 Original numerator / PRIME number AS DECIMAL => 388.5 Original numerator / PRIME number AS FRACTION (not reduced) => 777/3 Original numerator / PRIME number AS DECIMAL => 259.0 Original numerator / PRIME number AS FRACTION (not reduced) => 777/5 Original numerator / PRIME number AS DECIMAL => 155.4 *** The Decimal presented: 0.6 The fraction part: 6 this is numerator: 6 this is denominator: 10 This is maximum potential Greatest Common Factor(6) between Numerator(6) Denominator(10) This is maximum potential Greatest Common Factor(3) between Numerator(3) Denominator(5) Elapsed time in seconds to reduce fraction: 1.17761E-4 reduced numerator: 3 reduced denominator: 5 Fraction presented is: 1/6 No whole number before fraction 2Fraction provided in challenge: 1/6 might not be correctly reduced (3/5) 2Original reduced fraction provided 1/6 is non- representation of the initial decimal conversion: 0.6 1Remaining original fraction(1/6) in decimal is 0.16666666666666666 and NOT:0.6(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: NOT Terminating fraction since reduced denominator (5) is NOT divisble by prime number of two or five Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 3.1425 The fraction part: 1425 this is numerator: 1425 this is denominator: 10000 This is maximum potential Greatest Common Factor(1425) between Numerator(1425) Denominator(10000) This is maximum potential Greatest Common Factor(285) between Numerator(285) Denominator(2000) Elapsed time in seconds to reduce fraction: 3.49045E-4 reduced numerator: 285 reduced denominator: 2000 Fraction presented is: 22/7 No whole number before fraction Original whole number from fraction (numerator/denominator):3 remaining numerator: 1 remaining fraction: 1/7 Fraction provided in challenge is improper: 22/7 Mixed number fraction is: 3-1/7 1Mixed number fraction(3) and original decimal(3) have same whole number 2Fraction provided in challenge: 1/7 might not be correctly reduced (285/2000) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(22/7)has been changed to proper fraction(3-1/7) Remaining fraction is: 1/7 is non- representation of the initial decimal conversion: 0.1425 1Remaining fraction 1/7 in decimal is 0.14285714285714285 and NOT:0.1425(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(2000) has prime factor (divisble by prime number of two or five) 3.1425 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 22/2 Original numerator / PRIME number AS DECIMAL => 11.0 Original numerator / PRIME number AS FRACTION (not reduced) => 22/3 Original numerator / PRIME number AS DECIMAL => 7.333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 22/5 Original numerator / PRIME number AS DECIMAL => 4.4 *** The Decimal presented: 0.6 The fraction part: 6 this is numerator: 6 this is denominator: 10 This is maximum potential Greatest Common Factor(6) between Numerator(6) Denominator(10) This is maximum potential Greatest Common Factor(3) between Numerator(3) Denominator(5) Elapsed time in seconds to reduce fraction: 7.0912E-5 reduced numerator: 3 reduced denominator: 5 Fraction presented is: 2/3 No whole number before fraction 2Fraction provided in challenge: 2/3 might not be correctly reduced (3/5) 2Original reduced fraction provided 2/3 is non- representation of the initial decimal conversion: 0.6 1Remaining original fraction(2/3) in decimal is 0.6666666666666666 and NOT:0.6(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: NOT Terminating fraction since reduced denominator (5) is NOT divisble by prime number of two or five Original numerator / PRIME number AS FRACTION (not reduced) => 2/2 Original numerator / PRIME number AS DECIMAL => 1.0 Original numerator / PRIME number AS FRACTION (not reduced) => 2/3 Original numerator / PRIME number AS DECIMAL => 0.6666666666666666 Original numerator / PRIME number AS FRACTION (not reduced) => 2/5 Original numerator / PRIME number AS DECIMAL => 0.4 *** The Decimal presented: 1.1 The fraction part: 1 this is numerator: 1 this is denominator: 10 This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10) This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10) Elapsed time in seconds to reduce fraction: 7.8641E-5 reduced numerator: 1 reduced denominator: 10 Fraction presented is: 10/9 No whole number before fraction Original whole number from fraction (numerator/denominator):1 remaining numerator: 1 remaining fraction: 1/9 Fraction provided in challenge is improper: 10/9 Mixed number fraction is: 1-1/9 1Mixed number fraction(1) and original decimal(1) have same whole number 2Fraction provided in challenge: 1/9 might not be correctly reduced (1/10) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(10/9)has been changed to proper fraction(1-1/9) Remaining fraction is: 1/9 is non- representation of the initial decimal conversion: 0.1 1Remaining fraction 1/9 in decimal is 0.1111111111111111 and NOT:0.1(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(10) has prime factor (divisble by prime number of two or five) 1.1 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 10/2 Original numerator / PRIME number AS DECIMAL => 5.0 Original numerator / PRIME number AS FRACTION (not reduced) => 10/3 Original numerator / PRIME number AS DECIMAL => 3.3333333333333335 Original numerator / PRIME number AS FRACTION (not reduced) => 10/5 Original numerator / PRIME number AS DECIMAL => 2.0 *** The Decimal presented: 6.1 The fraction part: 1 this is numerator: 1 this is denominator: 10 This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10) This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10) Elapsed time in seconds to reduce fraction: 7.2012E-5 reduced numerator: 1 reduced denominator: 10 Fraction presented is: 10/9 No whole number before fraction Original whole number from fraction (numerator/denominator):1 remaining numerator: 1 remaining fraction: 1/9 Fraction provided in challenge is improper: 10/9 Mixed number fraction is: 1-1/9 ***Mismatch in whole numbers**** Fraction has following whole number:1 Original decimal has following whole number:6 *********** 2Fraction provided in challenge: 1/9 might not be correctly reduced (1/10) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(10/9)has been changed to proper fraction(1-1/9) Remaining fraction is: 1/9 is non- representation of the initial decimal conversion: 0.1 1Remaining fraction 1/9 in decimal is 0.1111111111111111 and NOT:0.1(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(10) has prime factor (divisble by prime number of two or five) 6.1 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 10/2 Original numerator / PRIME number AS DECIMAL => 5.0 Original numerator / PRIME number AS FRACTION (not reduced) => 10/3 Original numerator / PRIME number AS DECIMAL => 3.3333333333333335 Original numerator / PRIME number AS FRACTION (not reduced) => 10/5 Original numerator / PRIME number AS DECIMAL => 2.0 *** The Decimal presented: 6.1 The fraction part: 1 this is numerator: 1 this is denominator: 10 This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10) This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10) Elapsed time in seconds to reduce fraction: 7.8323E-5 reduced numerator: 1 reduced denominator: 10 Fraction presented is: 1-3/9 Whole number before fraction: 1 ***2Mismatch in whole numbers**** Fraction has following whole number:1 Original decimal has following whole number:6 *********** 2Fraction provided in challenge: 1-3/9 might not be correctly reduced (1/10) 2Original reduced fraction provided 1-3/9 is non- representation of the initial decimal conversion: 0.1 1Remaining original fraction(1-3/9) in decimal is 0.3333333333333333 and NOT:0.1(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(10) has prime factor (divisble by prime number of two or five) 6.1 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 3/2 Original numerator / PRIME number AS DECIMAL => 1.5 Original numerator / PRIME number AS FRACTION (not reduced) => 3/3 Original numerator / PRIME number AS DECIMAL => 1.0 Original numerator / PRIME number AS FRACTION (not reduced) => 3/5 Original numerator / PRIME number AS DECIMAL => 0.6 *** The Decimal presented: 0.192367 The fraction part: 192367 this is numerator: 192367 this is denominator: 1000000 This is maximum potential Greatest Common Factor(192367) between Numerator(192367) Denominator(1000000) This is maximum potential Greatest Common Factor(192367) between Numerator(192367) Denominator(1000000) Elapsed time in seconds to reduce fraction: 0.198706482 reduced numerator: 192367 reduced denominator: 1000000 Fraction presented is: 5343/27775 No whole number before fraction 2Fraction provided in challenge: 5343/27775 might not be correctly reduced (192367/1000000) 2Original reduced fraction provided 5343/27775 is non- representation of the initial decimal conversion: 0.192367 1Remaining original fraction(5343/27775) in decimal is 0.19236723672367237 and NOT:0.192367(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000) has prime factor (divisble by prime number of two or five) 0.192367 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 5343/2 Original numerator / PRIME number AS DECIMAL => 2671.5 Original numerator / PRIME number AS FRACTION (not reduced) => 5343/3 Original numerator / PRIME number AS DECIMAL => 1781.0 Original numerator / PRIME number AS FRACTION (not reduced) => 5343/5 Original numerator / PRIME number AS DECIMAL => 1068.6 *** The Decimal presented: 0.10973 The fraction part: 10973 this is numerator: 10973 this is denominator: 100000 This is maximum potential Greatest Common Factor(10973) between Numerator(10973) Denominator(100000) This is maximum potential Greatest Common Factor(10973) between Numerator(10973) Denominator(100000) Elapsed time in seconds to reduce fraction: 0.00293306 reduced numerator: 10973 reduced denominator: 100000 Fraction presented is: 823/7500 No whole number before fraction 2Fraction provided in challenge: 823/7500 might not be correctly reduced (10973/100000) 2Original reduced fraction provided 823/7500 is non- representation of the initial decimal conversion: 0.10973 1Remaining original fraction(823/7500) in decimal is 0.10973333333333334 and NOT:0.10973(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(100000) has prime factor (divisble by prime number of two or five) 0.10973 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 823/2 Original numerator / PRIME number AS DECIMAL => 411.5 Original numerator / PRIME number AS FRACTION (not reduced) => 823/3 Original numerator / PRIME number AS DECIMAL => 274.3333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 823/5 Original numerator / PRIME number AS DECIMAL => 164.6 *** The Decimal presented: 0.343 The fraction part: 343 this is numerator: 343 this is denominator: 1000 This is maximum potential Greatest Common Factor(343) between Numerator(343) Denominator(1000) This is maximum potential Greatest Common Factor(343) between Numerator(343) Denominator(1000) Elapsed time in seconds to reduce fraction: 1.63273E-4 reduced numerator: 343 reduced denominator: 1000 Fraction presented is: 1/3 No whole number before fraction 2Fraction provided in challenge: 1/3 might not be correctly reduced (343/1000) 2Original reduced fraction provided 1/3 is non- representation of the initial decimal conversion: 0.343 1Remaining original fraction(1/3) in decimal is 0.3333333333333333 and NOT:0.343(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000) has prime factor (divisble by prime number of two or five) 0.343 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 0.01100550275137568784 The fraction part: 01100550275137568784 this is numerator: 1100550275137568784 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 9 digits wide: 100000000 Numerator(1100550275137568784) considered too large for computation Numerator reduced to 9 digits wide: 110055027 This is maximum potential Greatest Common Factor(100000000) between Numerator(110055027) Denominator(100000000) This is maximum potential Greatest Common Factor(100000000) between Numerator(110055027) Denominator(100000000) Elapsed time in seconds to reduce fraction: 11.217063503 reduced numerator: 110055027 reduced denominator: 100000000 Fraction presented is: 22/1999 No whole number before fraction 2Fraction provided in challenge: 22/1999 might not be correctly reduced (110055027/100000000) 2Original reduced fraction provided 22/1999 is non- representation of the initial decimal conversion: 0.01100550275137568784 1Remaining original fraction(22/1999) in decimal is 0.011005502751375688 and NOT:0.01100550275137568784(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(100000000) has prime factor (divisble by prime number of two or five) 0.01100550275137568784 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 22/2 Original numerator / PRIME number AS DECIMAL => 11.0 Original numerator / PRIME number AS FRACTION (not reduced) => 22/3 Original numerator / PRIME number AS DECIMAL => 7.333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 22/5 Original numerator / PRIME number AS DECIMAL => 4.4 *** The Decimal presented: 0.242424 The fraction part: 242424 this is numerator: 242424 this is denominator: 1000000 This is maximum potential Greatest Common Factor(242424) between Numerator(242424) Denominator(1000000) This is maximum potential Greatest Common Factor(30303) between Numerator(30303) Denominator(125000) Elapsed time in seconds to reduce fraction: 0.004297515 reduced numerator: 30303 reduced denominator: 125000 Fraction presented is: 30303/125000 No whole number before fraction fraction provided in challenge is fully reduced: 30303/125000 Original fraction(30303/125000) provided is exact representation of the initial decimal conversion: 0.242424 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(125000) has prime factor (divisble by prime number of two or five) 0.242424 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 30303/2 Original numerator / PRIME number AS DECIMAL => 15151.5 Original numerator / PRIME number AS FRACTION (not reduced) => 30303/3 Original numerator / PRIME number AS DECIMAL => 10101.0 Original numerator / PRIME number AS FRACTION (not reduced) => 30303/5 Original numerator / PRIME number AS DECIMAL => 6060.6 *** The Decimal presented: 0.1875325 The fraction part: 1875325 this is numerator: 1875325 this is denominator: 10000000 This is maximum potential Greatest Common Factor(1875325) between Numerator(1875325) Denominator(10000000) This is maximum potential Greatest Common Factor(375065) between Numerator(375065) Denominator(2000000) Elapsed time in seconds to reduce fraction: 0.0715843 reduced numerator: 375065 reduced denominator: 2000000 Fraction presented is: 75013/400000 No whole number before fraction 2Fraction provided in challenge: 75013/400000 might not be correctly reduced (375065/2000000) 2Original reduced fraction provided 75013/400000 is non- representation of the initial decimal conversion: 0.1875325 1Remaining original fraction(75013/400000) in decimal is 0.1875325 and NOT:0.1875325(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(2000000) has prime factor (divisble by prime number of two or five) 0.1875325 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 75013/2 Original numerator / PRIME number AS DECIMAL => 37506.5 Original numerator / PRIME number AS FRACTION (not reduced) => 75013/3 Original numerator / PRIME number AS DECIMAL => 25004.333333333332 Original numerator / PRIME number AS FRACTION (not reduced) => 75013/5 Original numerator / PRIME number AS DECIMAL => 15002.6 *** The Decimal presented: 0.5 The fraction part: 5 this is numerator: 5 this is denominator: 10 This is maximum potential Greatest Common Factor(5) between Numerator(5) Denominator(10) This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(2) Elapsed time in seconds to reduce fraction: 4.5877E-5 reduced numerator: 1 reduced denominator: 2 Fraction presented is: 1/2 No whole number before fraction fraction provided in challenge is fully reduced: 1/2 Original fraction(1/2) provided is exact representation of the initial decimal conversion: 0.5 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(2) has prime factor (divisble by prime number of two or five) 0.5 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 1.25 The fraction part: 25 this is numerator: 25 this is denominator: 100 This is maximum potential Greatest Common Factor(25) between Numerator(25) Denominator(100) This is maximum potential Greatest Common Factor(5) between Numerator(5) Denominator(20) Elapsed time in seconds to reduce fraction: 2.6645E-5 reduced numerator: 5 reduced denominator: 20 Fraction presented is: 1-1/4 Whole number before fraction: 1 3Mixed number fraction(1) and original decimal(1) have same whole number 2Fraction provided in challenge: 1-1/4 might not be correctly reduced (5/20) 2Original reduced fraction provided 1-1/4 is non- representation of the initial decimal conversion: 0.25 1Remaining original fraction(1-1/4) in decimal is 0.25 and NOT:0.25(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(20) has prime factor (divisble by prime number of two or five) 1.25 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 0.0123 The fraction part: 0123 this is numerator: 123 this is denominator: 10000 This is maximum potential Greatest Common Factor(123) between Numerator(123) Denominator(10000) This is maximum potential Greatest Common Factor(123) between Numerator(123) Denominator(10000) Elapsed time in seconds to reduce fraction: 5.002E-5 reduced numerator: 123 reduced denominator: 10000 Fraction presented is: 123/10000 No whole number before fraction fraction provided in challenge is fully reduced: 123/10000 Original fraction(123/10000) provided is exact representation of the initial decimal conversion: 0.0123 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(10000) has prime factor (divisble by prime number of two or five) 0.0123 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 123/2 Original numerator / PRIME number AS DECIMAL => 61.5 Original numerator / PRIME number AS FRACTION (not reduced) => 123/3 Original numerator / PRIME number AS DECIMAL => 41.0 Original numerator / PRIME number AS FRACTION (not reduced) => 123/5 Original numerator / PRIME number AS DECIMAL => 24.6 *** The Decimal presented: 0.0001 The fraction part: 0001 this is numerator: 1 this is denominator: 10000 This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10000) This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(10000) Elapsed time in seconds to reduce fraction: 2.9015E-5 reduced numerator: 1 reduced denominator: 10000 Fraction presented is: 1/10000 No whole number before fraction fraction provided in challenge is fully reduced: 1/10000 Original fraction(1/10000) provided is exact representation of the initial decimal conversion: 0.0001 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(10000) has prime factor (divisble by prime number of two or five) 0.0001 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 0.999 The fraction part: 999 this is numerator: 999 this is denominator: 1000 This is maximum potential Greatest Common Factor(999) between Numerator(999) Denominator(1000) This is maximum potential Greatest Common Factor(999) between Numerator(999) Denominator(1000) Elapsed time in seconds to reduce fraction: 1.34617E-4 reduced numerator: 999 reduced denominator: 1000 Fraction presented is: 999/1000 No whole number before fraction fraction provided in challenge is fully reduced: 999/1000 Original fraction(999/1000) provided is exact representation of the initial decimal conversion: 0.999 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000) has prime factor (divisble by prime number of two or five) 0.999 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 999/2 Original numerator / PRIME number AS DECIMAL => 499.5 Original numerator / PRIME number AS FRACTION (not reduced) => 999/3 Original numerator / PRIME number AS DECIMAL => 333.0 Original numerator / PRIME number AS FRACTION (not reduced) => 999/5 Original numerator / PRIME number AS DECIMAL => 199.8 *** The Decimal presented: 0.15 The fraction part: 15 this is numerator: 15 this is denominator: 100 This is maximum potential Greatest Common Factor(15) between Numerator(15) Denominator(100) This is maximum potential Greatest Common Factor(3) between Numerator(3) Denominator(20) Elapsed time in seconds to reduce fraction: 2.3151E-5 reduced numerator: 3 reduced denominator: 20 Fraction presented is: 15/100 No whole number before fraction 2Fraction provided in challenge: 15/100 might not be correctly reduced (3/20) 2Original reduced fraction provided 15/100 is non- representation of the initial decimal conversion: 0.15 1Remaining original fraction(15/100) in decimal is 0.15 and NOT:0.15(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(20) has prime factor (divisble by prime number of two or five) 0.15 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 15/2 Original numerator / PRIME number AS DECIMAL => 7.5 Original numerator / PRIME number AS FRACTION (not reduced) => 15/3 Original numerator / PRIME number AS DECIMAL => 5.0 Original numerator / PRIME number AS FRACTION (not reduced) => 15/5 Original numerator / PRIME number AS DECIMAL => 3.0 *** The Decimal presented: 0.86 The fraction part: 86 this is numerator: 86 this is denominator: 100 This is maximum potential Greatest Common Factor(86) between Numerator(86) Denominator(100) This is maximum potential Greatest Common Factor(43) between Numerator(43) Denominator(50) Elapsed time in seconds to reduce fraction: 2.5966E-5 reduced numerator: 43 reduced denominator: 50 Fraction presented is: 86/100 No whole number before fraction 2Fraction provided in challenge: 86/100 might not be correctly reduced (43/50) 2Original reduced fraction provided 86/100 is non- representation of the initial decimal conversion: 0.86 1Remaining original fraction(86/100) in decimal is 0.86 and NOT:0.86(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(50) has prime factor (divisble by prime number of two or five) 0.86 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 86/2 Original numerator / PRIME number AS DECIMAL => 43.0 Original numerator / PRIME number AS FRACTION (not reduced) => 86/3 Original numerator / PRIME number AS DECIMAL => 28.666666666666668 Original numerator / PRIME number AS FRACTION (not reduced) => 86/5 Original numerator / PRIME number AS DECIMAL => 17.2 *** The Decimal presented: 10.4 The fraction part: 4 this is numerator: 4 this is denominator: 10 This is maximum potential Greatest Common Factor(4) between Numerator(4) Denominator(10) This is maximum potential Greatest Common Factor(2) between Numerator(2) Denominator(5) Elapsed time in seconds to reduce fraction: 2.0982E-5 reduced numerator: 2 reduced denominator: 5 Fraction presented is: 10-2/5 Whole number before fraction: 10 3Mixed number fraction(10) and original decimal(10) have same whole number fraction provided in challenge is fully reduced: 10-2/5 Original fraction(10-2/5) provided is exact representation of the initial decimal conversion: 10.4 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: NOT Terminating fraction since reduced denominator (5) is NOT divisble by prime number of two or five Original numerator / PRIME number AS FRACTION (not reduced) => 2/2 Original numerator / PRIME number AS DECIMAL => 1.0 Original numerator / PRIME number AS FRACTION (not reduced) => 2/3 Original numerator / PRIME number AS DECIMAL => 0.6666666666666666 Original numerator / PRIME number AS FRACTION (not reduced) => 2/5 Original numerator / PRIME number AS DECIMAL => 0.4 *** The Decimal presented: 23.5 The fraction part: 5 this is numerator: 5 this is denominator: 10 This is maximum potential Greatest Common Factor(5) between Numerator(5) Denominator(10) This is maximum potential Greatest Common Factor(1) between Numerator(1) Denominator(2) Elapsed time in seconds to reduce fraction: 3.8494E-5 reduced numerator: 1 reduced denominator: 2 Fraction presented is: 23-1/2 Whole number before fraction: 23 3Mixed number fraction(23) and original decimal(23) have same whole number fraction provided in challenge is fully reduced: 23-1/2 Original fraction(23-1/2) provided is exact representation of the initial decimal conversion: 23.5 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(2) has prime factor (divisble by prime number of two or five) 23.5 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 *** The Decimal presented: 0.75 The fraction part: 75 this is numerator: 75 this is denominator: 100 This is maximum potential Greatest Common Factor(75) between Numerator(75) Denominator(100) This is maximum potential Greatest Common Factor(15) between Numerator(15) Denominator(20) Elapsed time in seconds to reduce fraction: 4.06E-5 reduced numerator: 15 reduced denominator: 20 Fraction presented is: 3/4 No whole number before fraction 2Fraction provided in challenge: 3/4 might not be correctly reduced (15/20) 2Original reduced fraction provided 3/4 is non- representation of the initial decimal conversion: 0.75 1Remaining original fraction(3/4) in decimal is 0.75 and NOT:0.75(original) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(20) has prime factor (divisble by prime number of two or five) 0.75 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 3/2 Original numerator / PRIME number AS DECIMAL => 1.5 Original numerator / PRIME number AS FRACTION (not reduced) => 3/3 Original numerator / PRIME number AS DECIMAL => 1.0 Original numerator / PRIME number AS FRACTION (not reduced) => 3/5 Original numerator / PRIME number AS DECIMAL => 0.6 *** The Decimal presented: 0.33533 The fraction part: 33533 this is numerator: 33533 this is denominator: 100000 This is maximum potential Greatest Common Factor(33533) between Numerator(33533) Denominator(100000) This is maximum potential Greatest Common Factor(33533) between Numerator(33533) Denominator(100000) Elapsed time in seconds to reduce fraction: 0.027504745 reduced numerator: 33533 reduced denominator: 100000 Fraction presented is: 33533/100000 No whole number before fraction fraction provided in challenge is fully reduced: 33533/100000 Original fraction(33533/100000) provided is exact representation of the initial decimal conversion: 0.33533 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(100000) has prime factor (divisble by prime number of two or five) 0.33533 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 33533/2 Original numerator / PRIME number AS DECIMAL => 16766.5 Original numerator / PRIME number AS FRACTION (not reduced) => 33533/3 Original numerator / PRIME number AS DECIMAL => 11177.666666666666 Original numerator / PRIME number AS FRACTION (not reduced) => 33533/5 Original numerator / PRIME number AS DECIMAL => 6706.6 *** The Decimal presented: 5.1111111111111111111 The fraction part: 1111111111111111111 this is numerator: 1111111111111111111 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 10 digits wide: 1000000000due to recurrence numerator Numerator(1111111111111111111) considered too large for computation Numerator reduced to 9 digits wide: 111111111 This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) Elapsed time in seconds to reduce fraction: 21.243560343 reduced numerator: 111111111 reduced denominator: 1000000000 Fraction presented is: 4-64/9 Whole number before fraction: 4 Original whole number from fraction (numerator/denominator):7 remaining numerator: 1 remaining fraction: 1/9 Fraction provided in challenge is improper: 4-64/9 Mixed number fraction is: 11-1/9 ***Mismatch in whole numbers**** Fraction has following whole number:11 Original decimal has following whole number:5 *********** 2Fraction provided in challenge: 1/9 might not be correctly reduced (111111111/1000000000) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(4-64/9)has been changed to proper fraction(11-1/9) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000000) has prime factor (divisble by prime number of two or five) 5.1111111111111111111 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 64/2 Original numerator / PRIME number AS DECIMAL => 32.0 Original numerator / PRIME number AS FRACTION (not reduced) => 64/3 Original numerator / PRIME number AS DECIMAL => 21.333333333333332 Original numerator / PRIME number AS FRACTION (not reduced) => 64/5 Original numerator / PRIME number AS DECIMAL => 12.8 *** The Decimal presented: 5.1111111111111111111 Recurring digit occurs: 19 times Recurring digit through entire decimal: 1 FULL EQUATION ONE: 0.1111111111111111111 FULL EQUATION TWO: 1.1111111111111111111 FULL EQUATION TWO A: 1.0 Fraction of recurring: 1/9 The fraction part: 1111111111111111111 this is numerator: 1111111111111111111 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 10 digits wide: 1000000000due to recurrence numerator Numerator(1111111111111111111) considered too large for computation Numerator reduced to 9 digits wide: 111111111 This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) Elapsed time in seconds to reduce fraction: 5.606629055 reduced numerator: 111111111 reduced denominator: 1000000000 Fraction presented is: 64/9 No whole number before fraction Original whole number from fraction (numerator/denominator):7 remaining numerator: 1 remaining fraction: 1/9 Fraction provided in challenge is improper: 64/9 Mixed number fraction is: 7-1/9 ***Mismatch in whole numbers**** Fraction has following whole number:7 Original decimal has following whole number:5 *********** 2Fraction provided in challenge: 1/9 might not be correctly reduced (111111111/1000000000) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(64/9)has been changed to proper fraction(7-1/9) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000000) has prime factor (divisble by prime number of two or five) 5.1111111111111111111 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 64/2 Original numerator / PRIME number AS DECIMAL => 32.0 Original numerator / PRIME number AS FRACTION (not reduced) => 64/3 Original numerator / PRIME number AS DECIMAL => 21.333333333333332 Original numerator / PRIME number AS FRACTION (not reduced) => 64/5 Original numerator / PRIME number AS DECIMAL => 12.8 *** The Decimal presented: 7.1111111111111111111 The fraction part: 1111111111111111111 this is numerator: 1111111111111111111 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 10 digits wide: 1000000000due to recurrence numerator Numerator(1111111111111111111) considered too large for computation Numerator reduced to 9 digits wide: 111111111 This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) Elapsed time in seconds to reduce fraction: 5.997873913 reduced numerator: 111111111 reduced denominator: 1000000000 Fraction presented is: 64/9 No whole number before fraction Original whole number from fraction (numerator/denominator):7 remaining numerator: 1 remaining fraction: 1/9 Fraction provided in challenge is improper: 64/9 Mixed number fraction is: 7-1/9 1Mixed number fraction(7) and original decimal(7) have same whole number 2Fraction provided in challenge: 1/9 might not be correctly reduced (111111111/1000000000) Discrepency above is due to conversion from improper=>proper fraction 1Original fraction(64/9)has been changed to proper fraction(7-1/9) ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000000) has prime factor (divisble by prime number of two or five) 7.1111111111111111111 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 64/2 Original numerator / PRIME number AS DECIMAL => 32.0 Original numerator / PRIME number AS FRACTION (not reduced) => 64/3 Original numerator / PRIME number AS DECIMAL => 21.333333333333332 Original numerator / PRIME number AS FRACTION (not reduced) => 64/5 Original numerator / PRIME number AS DECIMAL => 12.8 *** The Decimal presented: 7.1111111111111111111 Recurring digit occurs: 19 times Recurring digit through entire decimal: 1 FULL EQUATION ONE: 0.1111111111111111111 FULL EQUATION TWO: 1.1111111111111111111 FULL EQUATION TWO A: 1.0 Fraction of recurring: 1/9 The fraction part: 1111111111111111111 this is numerator: 1111111111111111111 this is denominator: 1000000000000000000 Denominator(1000000000000000000) considered too large for computation Denominator reduced to 10 digits wide: 1000000000due to recurrence numerator Numerator(1111111111111111111) considered too large for computation Numerator reduced to 9 digits wide: 111111111 This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) This is maximum potential Greatest Common Factor(111111111) between Numerator(111111111) Denominator(1000000000) Elapsed time in seconds to reduce fraction: 6.192089917 reduced numerator: 111111111 reduced denominator: 1000000000 Fraction presented is: 7-1/9 Whole number before fraction: 7 3Mixed number fraction(7) and original decimal(7) have same whole number 2Fraction provided in challenge: 7-1/9 might not be correctly reduced (111111111/1000000000) 2Original reduced fraction provided 7-1/9 is non- representation of the initial decimal conversion: 0.1111111111111111111 ************************************************ This will just be final part of the code... Since several prime numbers have been generated, I will use the existing numerator And store the results in a String array: Numerator/prime number AS fraction and Numerator/prime number AS decimal and store results. IT IS TO GET A FEEL OF DIFFERENT PATTERNS AS EXPLORED IN DOCUMENTATION! This will provide a sample should I wish to populate initial array also! It will also show examples in which repetends have occured two or more times in the decimal precision (LIMIT 19 of STRING). THIS IS ONLY circumstances available to enhance my code to utilize mapping to fractional equivalent.... ************************************************** CHECK TO SEE IF ORIGINAL FRACTION IS TERMINATING: Terminating fraction since reduced denominator(1000000000) has prime factor (divisble by prime number of two or five) 7.1111111111111111111 is a periodic number Original numerator / PRIME number AS FRACTION (not reduced) => 1/2 Original numerator / PRIME number AS DECIMAL => 0.5 Original numerator / PRIME number AS FRACTION (not reduced) => 1/3 Original numerator / PRIME number AS DECIMAL => 0.3333333333333333 Original numerator / PRIME number AS FRACTION (not reduced) => 1/5 Original numerator / PRIME number AS DECIMAL => 0.2 ** Process exited - Return Code: 0 **