5. Program
5. How to Print this series ? 8, 6, 9, 23, 87, 429....N
class Series1 { public static void main(String[] a) { int no = 8 int j = 1 int k = 0 int d = 2; for(int i = 0 ; i < 7 ; i++) { System.out.println(no); no = no*j - d; j++; d++; } } }