HMRC is sending letters to people who may be being underpaid the state pension.