Pascal matrix, classical polynomial and difference equations