The gematria of ושלשים ואחת שנה מלך בירושל ם is 2134. See what else shares that value and compose your own phrase.
A Hebrew gematria calculator: work out the value of any word or phrase, and find everything else that shares it.
For example: משיח אהבה תורה ירושלים אמת שלום