Checking if the condition satisfies . Increment the count and print the number if it satisfies .
if ( i % a == 0 && r % a == 0 ) { System . out . print ( i + " ▁ " ) ; count ++ ; i ++ ; } else i ++ ; } }