The number 247 indicates that it was manufactured for Craftsman by a company called MTD.
The number 917 indicates that it was manufactured for Craftsman by a company called Husqvarna , years back it was called AYP and somewhere in between I think Electrolux owned them
Different shaped outlets on the mowing decks need different shaped bagger tubes.