#Asking for help from Math fan.
46 messages · Page 1 of 1 (latest)
Can you utilize by using logarithms?
Yeah. But I wonder It can work. As the number is not exact exponent of 2, and we can't use any float, thanks.
Transformer?
Yeah.
What do you mean by that?
just calculation process that can get A from B and B from A.
Like just any generic algorithm?
Yes. I'm a software engineer
Okay, so the problem is to make transformer like above image.
If A and B is inputed, program output that in txt file.
Did you solve it?
Not yet
I have an idea but I don't know if it works, can you like make in the code where it would recognize how big the number is by using logs then it would have divided the numbers 2^70000 into subsets then of 2^128 where each subset corresponds to different input?
What? Sorry you are not making any sense to me
There is no problem for code, but can you explain more detail? And I made typo error, the first number is about 2^700000.
What is the point you can't understand, all of that?
I understand that A and B are arbitrarily large integers.
I do not understand "reversible transformer"
And then you suddenly started mentioning text files 
If two large number is inputed, we have to make transformation T between them, it can be equation or only numbers, then we have to be able to calculate A from B and T, and also calculate B from A and T (A -> T -> B, A <- T <- B ). The format of T is not important, but only there is limitation.
Are you saying that you are trying to make algorithm such that, if its input is the integer A, then the output shall be B, and if the input is B, then the output must be A?
sure
do you have a working, small-scale example?
yeah, I have python code
But it's algorithm is not useful as it produces a large amount of numbers, over 100000 digits.
I want to reduce them by using good algorithm.
Oh so you want to encode a small sample of giant numbers into an array of smaller numbers?
e.g. the number 1 would represent the number 2^1000?
Correct!
Just use a hash map my guy
Can u implement that?
you don't know how to implement a hash map?
I am not sure how it can work
how are you encoding your large integers in your python code?
I tried several method, and now I am divide large number by the max number 2^128 and storage all the rest, and recalculate original value using them.
so there are many number there.
Yeah idk. There's not a lot of info to work with. Unless you post the source, then I really can't get context. And I doubt you want to do that. If you are offering money, then you may believe there is monetary value to this work you are doing.
And I'm pretty confident you can't afford my rates 💰