dp,number theory