1,1,5,17,61,217,?,?.
Answers were Sorted based on User's Feedback
Answer / prasad shetty
773,2753
The logic looks like this
The number at position x will be
(number at x-1) * 3 + (number at x-2) *2
Is This Answer Correct ? | 15 Yes | 6 No |
What is the use of gets and puts?
define switch statement?
What is a header file?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is the maximum length of an identifier?
What is %d used for?
What is header file in c?
what is difference between procedural language and functional language ?
What is difference between far and near pointers?
main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....
Is main an identifier in c?
what does ‘segmentation violation’ mean?