The exception in this synonym distinction of than and then is when then is used in if – then clauses, in that case you just have to work your mind a little and remember that in an if – then clause, then with an e is always used. Then vs. than: Then with an e is always used as an adverb to describe a time or sequence of a thing in a sentence. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.