I have this question that is there any way we can convert a number to another number with less character in the new number?
For example, Imagine we have 811008 and if we divide this 13 times by 2, we won't get any point (I mean decimal) and this way will reduce the length of the number (811008)
811008/2 = 405504
505504/2 = 202752
202752/2 = 101376
101376/2 = 50688
50688/2 = 25344
25344/2 = 12672
12672/2 = 6336
6336/2 = 3168
3168/2 = 1584
1584/2 = 792
792/2 = 396
396/2 = 198
198/2 = 99
So, as you see now 811008 by 13 times of dividing to 2 is 99, it length is just 2 numbers (9 and 9) but 811008 has 6 numbers.
For returning 99 to 811008 we just need to multiply (*) 99 by 2 for 13 times!
I'm looking for an algorithm like this, I know this number is different and I need to comperes a very long number like:
385024753664106496204800753664417792221184163840106496204800204800106496131072753664401408139264245760204800106496212992172032753664155648270336303104253952
Or even very longer than this.