flat assembler
Message board for the users of flat assembler.
Index
> Heap > form formula through given array of numbers 
Author 

revolution
Yes. But you might not be satisfied with the results since there are an infinite number of possible curves that will fit any set of data points. You will need to choose which sort of curve fitting you want.
Although this might be what you are after: https://en.wikipedia.org/wiki/Polynomial_interpolation 

13 Mar 2013, 23:49 

sleepsleep
ok, because i was thinking something like this,
let say, for example, i got hold of 1000 product key for microsoft windows 7 operating system, is that possible through this 1000 product key, i be able to produce a function that capable to predict the next possible product key? i just make an example regarding the product key, not i have desire to produce such thing. 

14 Mar 2013, 00:04 

revolution
I doubt that MS use anything that could be plotted and interpolated in such a simple way. There will be some form of CRC or checksum component and also product identification and other types of information in the key. They are not simply random numbers, nor are they simply a polynomial formula.


14 Mar 2013, 00:25 

sleepsleep
yeah, i am sure too ms will never use simple way,
but, i got a question, if let say, i take an article, and change all the alphabet to their ascii value (like the above idea, array of numbers) then would every article that ever existed could somehow be formulated? since we can zip 7zip every article into shorter size, could i consider that as one kind of formulation? 

14 Mar 2013, 00:39 

revolution
Sure, you could do it in theory. Read up about the "infinite number of monkeys typing randomly for an infinite amount of time ..." will eventually produce every possible article ever written and also a much larger amount of total nonsensical gibberish. Basically your search space is far too large for this be any sort of practical solution.


14 Mar 2013, 00:57 

tthsqe
hit it with a lot of tests until you get a nice answer.
wolfram has a nice one online: http://www.wolframalpha.com/input/?i=FindSequenceFunction[{1%2C3%2C7%2C15%2C31%2C63}%2Cn] ( the whole thing is one url) 

14 Mar 2013, 03:41 

sleepsleep
that is awesome tthsqe, i copy paste my array in OP, wolfram requires $$ & more time for time consuming array, =) but it just cool,


14 Mar 2013, 11:45 

< Last Thread  Next Thread > 
Forum Rules:

Copyright © 19992020, Tomasz Grysztar.
Powered by rwasa.