#Asking for help from Math fan.

46 messages · Page 1 of 1 (latest)

nova larkBOT
dire tulip
#

Can you utilize by using logarithms?

marble plaza
native jolt
#

Transformer?

marble plaza
native jolt
#

What do you mean by that?

marble plaza
#

just calculation process that can get A from B and B from A.

native jolt
marble plaza
#

Are you programmer?

native jolt
marble plaza
#

Okay, so the problem is to make transformer like above image.

#

If A and B is inputed, program output that in txt file.

marble plaza
dire tulip
# marble plaza 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?

native jolt
marble plaza
marble plaza
native jolt
#

I understand that A and B are arbitrarily large integers.

#

I do not understand "reversible transformer"

#

And then you suddenly started mentioning text files thonk

marble plaza
#

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.

native jolt
#

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?

marble plaza
#

sure

native jolt
#

do you have a working, small-scale example?

marble plaza
#

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.

native jolt
#

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?

native jolt
#

Just use a hash map my guy

marble plaza
native jolt
#

you don't know how to implement a hash map?

marble plaza
#

I am not sure how it can work

native jolt
#

how are you encoding your large integers in your python code?

marble plaza
#

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.

native jolt
#

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 💰

marble plaza
#

Why do you think so.

#

If you can handle it exactly, i'll pay you $500

native jolt
#

yeah sorry, I start at $250/hr and minimum of 8 hours.

#

If you're fine posting the source though, I can look in my leisure time.

quiet viper
#

fyi