It would be better to ask "What is the minimum sensor size?" rather than asking "What is the best sensor size?"
At a minimum any camera sensors above 5MP, preferably around the 6MP to 8MP mark, will do fine.
Any sensor sizes over 8MP onwards, all will print to A4 anyway, but there is no best size because the sensor sizes keeps growing as technology improves, therefore there is no maximum size to worry about, and since there is no maximum, therefore there is no best size.
Best to use at minimum, a camera with sensor size of 5MP or more, and the image size setting on maximum the camera can offer (ie: Large setting, rather than Medium or Small settings just because you're worried about storage space on the memory card).
At 5MP, you could hope to get away with it, printing on A4. But at around 6MP to 8MP, they are good for A4. Over 8MP, no worries.