1,1,5,17,61,217,?,?.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why can’t constant values be used to define an array’s initial size?

857


Whats s or c mean?

594


What is an expression?

658


What is the use of header files?

606


What is enumerated data type in c?

629






What are the types of variables in c?

582


Where does the name "C" come from, anyway?

646


What happens if a header file is included twice?

600


What are valid operations on pointers?

670


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

626


Explain what does the format %10.2 mean when included in a printf statement?

783


what are the 10 different models of writing an addition program in C language?

1442


What is a newline escape sequence?

666


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2123


What is the size of enum in c?

624