package sushu; public class sushu1 { public static void main(String args[]) { int m,i,j,n=0; for(i=1;i<=100;i+=2) { m=(int)Math.sqrt((double)i); for(j=2;j<=m;j++) if(i%j==0) break; if(j>m) { if(n%6==0) System.out.println(" "); System.out.print(i+" "); n++; } } } }