Jump to content

Computer algorithm for number series

Featured Replies

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.

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.

  • Author

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

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...

'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,...

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

  • Author

 

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,...

 

Just enter 1,1,2,3

Edited by petrushka.googol

Archived

This topic is now archived and is closed to further replies.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.