You can program a few analytical techniques, such as "the nth term is the n-1th term plus a constant", "the nth term is the n-1th term times a constant", repetition patterns and so on. The computer can compare the predicted outcome from these to the supplied data and find the appropriate matching parameters. But it's not a trivial bit of code, it would take some thinking and tweaking.
2007-07-21 11:04:16
·
answer #1
·
answered by poorcocoboiboi 6
·
0⤊
0⤋
Getting a computer to recognize any pattern is a very difficult task. There are effectively an infinite number of possible types of patterns.
I could make a pattern that took the sum of all factors of the nth term in the series:
1, 3, 4, 7, 6, 12, 8...
The pattern could be every third digit of pi (which is a simple rule, but really has no pattern at all):
4, 9, 5, 8, 9, 3, 6...
The pattern could be n! - (n-1)!:
0, 1, 4, 18, 96, 600, 4320, 35280...
To get a computer to identify a pattern, you have to tell it how to identify it ahead of time. Computers are not creative. There are an infinite number of rules to choose for pattern, and you cannot program the computer to look for all of them.
2007-07-21 18:06:25
·
answer #2
·
answered by lithiumdeuteride 7
·
0⤊
0⤋
Currently, your trained human brain is the best computer program that recognizes number patterns.
2007-07-21 20:24:25
·
answer #3
·
answered by buoisang 4
·
0⤊
0⤋