MathDB
Problem 23, Fall 2003 , MS and HS

Source:

June 23, 2011
function

Problem Statement

For each positive integer mm and nn define function f(m,n)f(m, n) by f(1,1)=1f(1, 1) = 1, f(m+1,n)=f(m,n)+mf(m+ 1, n) = f(m, n) +m and f(m,n+1)=f(m,n)āˆ’nf(m, n + 1) = f(m, n) - n. Find the sum of all the values of pp such that f(p,q)=2004f(p, q) = 2004 for some qq.