{"raw_statement":[{"iden":"statement","content":"Pascal's Triangle is a famous concept in mathematics, and it has proven to have incredible relevance in many fields of mathematics even hundreds of years after its creation. The triangle is very simple to construct, starting out with just the number one centered on the first line of a sheet of paper. On the second line, write two ones centered just to the left and right of the one above. For any given line on the triangle, a value is found by adding the value to the upper right and upper left of the specified point, even if the upper right or upper left doesn't exist(meaning the specified point is on the edge of the triangle). Values on the edge of the triangle will always be 1. Your task for this problem is to find the maximum value on a given line of pascal's triangle(with the top line being 0).\n\nA single integer that represents the line of pascal's triangle(with the top line being 0) to have the maximum found for.\n\nA single integer that represents the maximum value on the given line of Pascal's Triangle.\n\nIf you are struggling with figuring this task out, take a look at binomial coefficients.\n\n"},{"iden":"input","content":"A single integer that represents the line of pascal's triangle(with the top line being 0) to have the maximum found for."},{"iden":"output","content":"A single integer that represents the maximum value on the given line of Pascal's Triangle."},{"iden":"note","content":"If you are struggling with figuring this task out, take a look at binomial coefficients."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ n \\in \\mathbb{Z}_{\\geq 0} $ denote the row index of Pascal’s Triangle (with top row being row 0).  \n\n**Constraints**  \n$ n \\geq 0 $  \n\n**Objective**  \nFind the maximum value in row $ n $ of Pascal’s Triangle, where the entries are binomial coefficients $ \\binom{n}{k} $ for $ k = 0, 1, \\dots, n $.  \n\n$$\n\\max_{0 \\leq k \\leq n} \\binom{n}{k}\n$$","simple_statement":"Given a line number n in Pascal's Triangle (starting from line 0), find the maximum value on that line.","has_page_source":false}