Let be an infinite lower triangular matrix of non-negative integers such that and for . Define a sequence by the recurrence with . Let be the number of partitions of of the form such that for and let denote the number of partitions of into summands in the set . Based on the technique of MacMahon’s partitions analysis, we prove that which generalizes a recent result of Sellers’. We also give several applications of this result to many classical sequences such as Bell numbers, Fibonacci numbers, Lucas numbers, and Pell numbers.