Sir why i am getting wrong answer in " print Series" problem . please explain me

import java.util.*;

public class Main {

public static void main(String args[]) {

	Scanner sc = new Scanner(System.in);
	int N1 = sc.nextInt();
	int N2 = sc.nextInt();
	int i  = 1;
	for(  ; i<= N1 ; i++ );
	{
		int res = 3*i + 2;
		if(res/N2 == 0){
			  i = i -1;

		}
		else
		{
			System.out.println(res);
	
		}
		
	} 


}

}

I think you have put up the link to another question

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.