I have a 3 frequencies 5,10,15 and i have the start year 1990.
I want to calculate the the recurrence of the events for the above frequencies
from the start year till the user defined year for ex till 2025
so the for the frequency 5 it will be 1995,2000,2005 etc toll 2025 .
The last frequency is called the replace frequency and after the 15 years the cycle is repeated
i can do 2 while loops and calculate the frequency recurrence but the time consumed in calculation is very long ..
Is there any mathematical shortcut (faster way) where i can generate the recurrence from the current year and get the exact array of the years for all the frequecies...