If you doubt that "2+2=4" is a sentence to begin with, read it aloud. It says: "Two plus two equals four," a perfectly respectable sentence.