We examine the q-Pell sequences and their applications to weighted partition theorems and values of L-functions. We also put them into perspective with sums of tails. It is shown that there is a deeper structure between two-variable generalizations of Rogers-Ramanujan identities and sums of tails, by offering examples of an operator equation considered in a paper published by the present author. The paper starts with the classical example offered by Ramanujan and studied by previous authors noted in the introduction. Showing that simple combinatorial manipulations give rise to an identity published by the present author, a weighted form of a Lebesgue partition theorem is given as the main application to partitions. The conclusion of the paper summarizes some directions for further research, pointing out that certain conditions on the q-polynomial would be desired, and also possibly looking at the operator equation in the present paper from the position of using modular forms., Alexander E. Patkowski., and Obsahuje bibliografii