Hi Everybody,
This is the first time I have ever posted a question so I may not be familiar with the pattern to adopt. Hereunder my problem goes.
I have a function which generates a very large Integer (I do this by using Biginteger from vjslib.dll and I am able to operate all kind of arithmetic operators on such a biginteger.)
But, My goal is to shorten this biginteger into a small integer. Is there any algorithm? or a mathematical Formula which I can use to represent it in a small integer and use some reverse formula to get the original Biginteger?
The big integer my function creates goes like this:
987612101123134 893759879561574 623648648234587 945723457348568 346586823456861 312374908137793 245792345793475 897836587236458 678234568234658 362458762347895 689324568923465 786361238467153 761234757457236 456663824768734 612834681236481 236481634138461 238467834576341 236412783461278 346781236481263 489126348971238 411346812734678 12364789
I do not want to represent my bigInteger in a higher base as it will not be possible to do conversion into higher bases with such a large integer.
Anyone who can help me out with this question, I shall be very thankful to him.
This is the first time I have ever posted a question so I may not be familiar with the pattern to adopt. Hereunder my problem goes.
I have a function which generates a very large Integer (I do this by using Biginteger from vjslib.dll and I am able to operate all kind of arithmetic operators on such a biginteger.)
But, My goal is to shorten this biginteger into a small integer. Is there any algorithm? or a mathematical Formula which I can use to represent it in a small integer and use some reverse formula to get the original Biginteger?
The big integer my function creates goes like this:
987612101123134 893759879561574 623648648234587 945723457348568 346586823456861 312374908137793 245792345793475 897836587236458 678234568234658 362458762347895 689324568923465 786361238467153 761234757457236 456663824768734 612834681236481 236481634138461 238467834576341 236412783461278 346781236481263 489126348971238 411346812734678 12364789
I do not want to represent my bigInteger in a higher base as it will not be possible to do conversion into higher bases with such a large integer.
Anyone who can help me out with this question, I shall be very thankful to him.
Comment