On weighted distribution functions of sequences