if no person qualifies for payment under paragraph (1), or if such person dies before receiving payment, in equal shares to each person who is entitled (or would have been so entitled had a timely application been filed), on the basis of the wages and self-employment income of such insured individual, to benefits under subsection (d) of this section for the month in which occurred such individual’s death.
No payment shall be made to any person under this subsection unless application therefor shall have been filed, by or on behalf of such person (whether or not legally competent), prior to the expiration of two years after the date of death of such insured individual, or unless such person was entitled to wife’s or husband’s insurance benefits, on the basis of the wages and self-employment income of such insured individual, for the month preceding the month in which such individual died. In the case of any individual who died outside the forty-eight States and the District of Columbia after December 1953 and before January 1, 1957 , whose death occurred while he was in the active military or naval service of the United States, and who is returned to any of such States, the District of Columbia, Alaska, Hawaii, the Commonwealth of Puerto Rico, the Virgin Islands, Guam, or American Samoa for interment or reinterment, the provisions of the preceding sentence shall not prevent payment to any person under the second sentence of this subsection if application for a lump-sum death payment with respect to such deceased individual is filed by or on behalf of such person (whether or not legally competent) prior to the expiration of two years after the date of such interment or reinterment. In the case of any individual who died outside the fifty States and the District of Columbia after December 1956 while he was performing service, as a member of a uniformed service, to which the provisions of section 410( l )(1) of this title are applicable, and who is returned to any State, or to any Territory or possession of the United States, for interment or reinterment, the provisions of the third sentence of this subsection shall not prevent payment to any person under the second sentence of this subsection if application for a lump-sum death payment with respect to such deceased individual is filed by or on behalf of such person (whether or not legally competent) prior to the expiration of two years after the date of such interment or reinterment.