samedi 20 février 2016

Follow a random sequence

I am developing a web app on PHP + MySQL and if possible I would like to implement a way to generate a number given a sequence with no pattern. Now, that said I can't think of a way to do it (I even think is not possible).

I've got a MySQL table full of numbers from 0 to 150 in a specified order, however the sequence of numbers doesn't follow any pattern, is totally random. I would like the app to read the input (all the stored numbers) and generate what could potentially be the next number.

I don't think is even possible as I said, but I thought it's worth to give it a try!

Any ideas on how to approach this problem?




Aucun commentaire:

Enregistrer un commentaire