Jump to content

Computer algorithm for number series


Recommended Posts

We know that intelligence can be built into a computer program to generate a sequence e.g. a Fibonacci sequence using recursion.

 

In many aptitude tests we come across problems where we have to guess the next term of the series.

 

Can an algorithm be developed that can solve any number sequence, analogous to a human doing the same, in real time.

 

Is it infeasible?

 

Please opine.

Link to comment
Share on other sites

It is feasible. For example, you can write an algorithm to scan through a sequence of numbers and find patterns of common differences, factors, sums, and multiples, check them against the given members of the sequence, and propose functions that model the whole sequence, allowing it to predict any nth element.

 

Also, if you ask people to opine please be intent on giving back to the discussion, as you left me hanging loose after I posted a thorough response in your thread about the singularity.

Link to comment
Share on other sites

It is feasible. For example, you can write an algorithm to scan through a sequence of numbers and find patterns of common differences, factors, sums, and multiples, check them against the given members of the sequence, and propose functions that model the whole sequence, allowing it to predict any nth element.

 

Also, if you ask people to opine please be intent on giving back to the discussion, as you left me hanging loose after I posted a thorough response in your thread about the singularity.

 

Rest assured sir I value and respect your feedback. I think that is not only implied but imperative. Any delay in replying was fortuitous rather than intentional. Thanks again.

Edited by petrushka.googol
Link to comment
Share on other sites

We know that intelligence can be built into a computer program to generate a sequence e.g. a Fibonacci sequence using recursion.

 

In many aptitude tests we come across problems where we have to guess the next term of the series.

 

Can an algorithm be developed that can solve any number sequence, analogous to a human doing the same, in real time.

 

Is it infeasible?

 

Please opine.

'Any' number sequence is an unreasonable expectation, but yes there are programs that allow you to enter a sequence and then the program evaluates it. See >> Wolfram Alpha Computational Engine Try entering 1,3,6,10...

Link to comment
Share on other sites

'Any' number sequence is an unreasonable expectation, but yes there are programs that allow you to enter a sequence and then the program evaluates it. See >> Wolfram Alpha Computational Engine Try entering 1,3,6,10...

 

That is very cool. But note that you need a comma between 10 and ...

It recognised the Fibonacci series from just the first four terms: 1,1,2,3,...

Link to comment
Share on other sites

That is very cool. But note that you need a comma between 10 and ...

Ooooopsss! I also got the name slightly wrong; it is computational knowledge engine. :doh:

It recognised the Fibonacci series from just the first four terms: 1,1,2,3,...

You can also enter equations and words or phrases*. If you sign up with a free membership as we do here, you get more features such as copyable text formats and longer listings.

 

* Edit: The knowledge engine is not limited to math or science. Try entering 'Moses' for example.

Edited by Acme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.