All,
I have a number: - 81001070841150780430
Is there a formula I can use to find the smallest whole number?
An example:
if the number is: - 3635215077376
I could for instance do: (124^3) * (124^3)
The problem with this example is that I just picked the number '3635215077376' after working out (124^3) * (124^3) - what I want to know how to do is how do I start with a large number like 3635215077376 and simplify it into something like (124^3) * (124^3)
By simplifying a large number, like in the above example, I can enter 124-3 in my program which means if 124 = a and 3 = b I can do a very simply formula (a^b)*(a^b).
As I say, I am struggling to reverse engineer this, and need to figure out how to get from any number that is 18 digits long to something that is essentially 4-6 digits long (in the above case 124-3).
The slight complication is that I am unable to use decimals so I need to keep it to whole numbers, but to find something that works every time is proving difficult. I know it will not be as simple as the above equation.
I think understanding the life cycle of these numbers might help:
I have worked these numbers out like above with me picking (a^b)
3 138 428 376 721 = (121^3)*(121^3)
3 462 825 991 689 = (123^3)*(123^3)
3 297 303 959 104 = (122^3)*(122^3)
**** I know that that equation just wouldn't cover all numbers but i am hoping a complex formula will
That means instead of the user entering: 3138428376721-3462825991689-3297303959104 they could enter 121-123-122-3
meaning I could in my program take the last digit as "to the power of" and then separate a=121, b=123, c=122, y=3 and then (a^y)*(a^y) then b and c and will then be back at the original number.
I have complete flexibility over the number of digits in the original number, the formula and the format of the input (i.e 121-123-122-3).
I think I am looking for a formula that can work out any 18 digit number in a consitant way.
I also thought I could possibly use some type of combination algorithm on the original number (313842837672134628259916893297303959104) in my case, and not use any arithmetic. Either way I am out of ideas
Any help or advice would be helpful.
Regards
A.
I have a number: - 81001070841150780430
Is there a formula I can use to find the smallest whole number?
An example:
if the number is: - 3635215077376
I could for instance do: (124^3) * (124^3)
The problem with this example is that I just picked the number '3635215077376' after working out (124^3) * (124^3) - what I want to know how to do is how do I start with a large number like 3635215077376 and simplify it into something like (124^3) * (124^3)
By simplifying a large number, like in the above example, I can enter 124-3 in my program which means if 124 = a and 3 = b I can do a very simply formula (a^b)*(a^b).
As I say, I am struggling to reverse engineer this, and need to figure out how to get from any number that is 18 digits long to something that is essentially 4-6 digits long (in the above case 124-3).
The slight complication is that I am unable to use decimals so I need to keep it to whole numbers, but to find something that works every time is proving difficult. I know it will not be as simple as the above equation.
I think understanding the life cycle of these numbers might help:
I have worked these numbers out like above with me picking (a^b)
3 138 428 376 721 = (121^3)*(121^3)
3 462 825 991 689 = (123^3)*(123^3)
3 297 303 959 104 = (122^3)*(122^3)
**** I know that that equation just wouldn't cover all numbers but i am hoping a complex formula will
That means instead of the user entering: 3138428376721-3462825991689-3297303959104 they could enter 121-123-122-3
meaning I could in my program take the last digit as "to the power of" and then separate a=121, b=123, c=122, y=3 and then (a^y)*(a^y) then b and c and will then be back at the original number.
I have complete flexibility over the number of digits in the original number, the formula and the format of the input (i.e 121-123-122-3).
I think I am looking for a formula that can work out any 18 digit number in a consitant way.
I also thought I could possibly use some type of combination algorithm on the original number (313842837672134628259916893297303959104) in my case, and not use any arithmetic. Either way I am out of ideas
Any help or advice would be helpful.
Regards
A.