simple programs to generate series
generate the particular series using loops and some formulas(logics)