15842 in words is written as :

Fifteen Thousand Eight Hundred and Forty Two