Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An n n table a is defined as follows: The first row and the first column contain ones, that is: a i , 1 =
An table is defined as follows:
The first row and the first column contain ones, that is: for all dots,
Each of the remaining numbers in the table is equal to the sum of the number above it and the
number to the left of it In other words, the remaining elements are defined by the formula
These conditions define all the values in the table.
You are given a number You need to determine the maximum value in the table defined by the
rules above.
Input
The only line of input contains a positive integer the number of rows and columns of
the table.
Output
Print a single line containing a positive integer the maximum value in the table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started