Hello! I came up with a formula for finding repeating (infinite) decimals: z × x+(x-1) ÷ x x ≠ -2,-1,0,1,2. where z = 0 and x ≠ 0, ±1, ±2. If the number X consists exclusively of prime factors 2 and/or 5 (in any combination through multiplication), the…