# 2011 AIME II Problems/Problem 11

Problem:

Let be the n x n matrix with entries as follows: for , ; for , ; all other entries in are zero. Let be the determinant of the matrix . Then can be represented as where p and q are relatively prime positive integers. Find p + q.