Find the formula 42 reversed is 24 2+4 = 6. The difference between 42 & 24 is 18, 2 + 4 = 6. 18 x 2 = 36, 36 + 6 = 42, 18 + 6 = 24. I need to find a formula that would've found the answers 6 & 18 before I knew they were the answer, but could also work for other numbers than 42/24 ?

To find a formula that can generate the answers 6 and 18 in a similar manner to the example you provided with the numbers 42 and 24, we can break down the steps you took and generalize them. Let's outline the problem-solving process:

1. Reverse the first number: This step involves reversing the digits of the first number. In the case of 42, reversing it gives us 24.

2. Calculate the sum of the reversed digits: Combine the digits of the reversed number and calculate their sum. In this example, 2 + 4 = 6.

3. Calculate the difference between the original number and the reversed number: Subtract the reversed number from the original number. For 42 and 24, the difference is 18.

4. Calculate the sum of the digits obtained in step 2: Take the sum from step 2 (6, in this example) and calculate the sum of its individual digits. In our case, 6 is already a single digit.

5. Multiply the difference calculated in step 3 by 2: Multiply the difference by 2. In our example, 18 * 2 = 36.

6. Add the result of step 5 to the result of step 4: Add the result from step 5 to the sum obtained in step 4. In our example, 36 + 6 = 42.

7. Add the result of step 3 to the sum obtained in step 2: Add the difference obtained in step 3 to the sum obtained in step 2. In this example, 18 + 6 = 24.

Now, let's write a formula that can generate the desired results:

Let's assume the original number is represented by "n" and the reversed number by "r".

1. Reverse the number: Reverse the digits of "n" to obtain "r".

2. Calculate the sum of the reversed digits: Let "s" be the sum of the digits of "r".

3. Calculate the difference between the original number and the reversed number: Subtract "r" from "n" to get "d" (d = n - r).

4. Calculate the sum of the digits obtained in step 2: Let "s'" be the sum of the digits of "s".

5. Multiply the difference calculated in step 3 by 2: Multiply "d" by 2.

6. Add the result of step 5 to the result of step 4: Add the product from step 5 to "s'" (result = d * 2 + s').

7. Add the result of step 3 to the sum obtained in step 2: Add "d" to "s" (result = d + s).

Using this formula, you can input any number "n" and obtain the results for steps 6 and 7 without already knowing what these values are.

Please note that this formula assumes both the original number and the reversed number have more than one digit. If either number has only one digit, the sum of its digits (steps 2 and 4) will be the value itself.