עוד יוסף חי, יוסף עוד חי, חי יוסף עוד, בן דוד חי וקיים
from Kol HaTor has the following Perush.The three permutations of עוד יוסף חי point to three times 18 years, 54 years. The number 18 refers to the 18 Segulot, which refer to the great number טצ"ץ B'Yesod. In history, this is the Yom Kippur war. There are three טצ"ץ wars, but only the Yom Kippur war is B'Yesod.
In first instance, the three periods of 18 years correspond to the final three periods of the count till 5789. However, this count was modified by the GR"A, a great Tikkun. In the modified series the periods are only 17.875 years long, slightly less than 18 years, and the three final periods end in 5786. One sees that the Yom Kippur war was shortly after the start of the first (modified) final period, in 5733.
The בן דוד חי וקיים part of the prayer refers to אל חי וקיים, which is 215 in gematria, and 215 years plus 5786 yields 6001. Ben David will reign from the year 5786, "forever," after the completion of 286 years of reign of Ben Yosef. This is the scenario of B'ita Achishena, not because of our merits, but because of the Tikunim by Ramchal and the GR"A.