Tessellate S.T.E.M.S - Computer Science - School - Set 2 - Problem 4

An integer valued function f f is defined by the following equations. If more than one equation apply, we choose the first one of them.

  1. If i = 0 i = 0 , f ( i , j ) = 1 f(i,j) = 1
  2. If i = 1 i = 1 , f ( i , j ) = 1 f(i,j) = 1
  3. If i > j i > j , f ( i , j ) = f ( i 1 , j ) f(i, j) = f(i-1, j)
  4. Otherwise, f ( i , j ) = f ( i 1 , j ) + f ( i 2 , j ) f(i,j) = f(i - 1, j) + f(i - 2, j)

Also, another integer valued function g g is defined as follows:

  1. If i = 0 i = 0 , g ( i , j ) = f ( 0 , j ) g(i,j) = f(0,j)
  2. Otherwise, g ( i , j ) = g ( i 1 , j ) + f ( i , j ) g(i, j) = g(i - 1, j) + f(i, j)

Compute g ( 9 , 10 ) g(9,10)


This problem is a part of Tessellate S.T.E.M.S.

232 179 197 231

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...