Thursday, July 5, 2007

Solution to the series

The next term in the series is 63.
Solution :-
The nth number of the series is the sum of the nth prime number and nth fibonacci number..

The fibonacci series goes lik this 0, 1, 1, 2, 3, 5, 8, 13..
The nth term is the sum of the (n-1)th and (n-2)th term..

The prime numbers go lik this 2, 3, 5, 7, 11, 13, 17...

http://www.research.att.com/~njas/sequences/
This is an online encyclopedia of integer sequences.. Go there and try searching our sequence.
This is a useful link i found while attempting programming competitions at http://www.topcoder.com

No comments: