import java.math.BigInteger; import java.util.ArrayList; import java.util.List; class Divisao { List<BigInteger> lista = new ArrayList<>(); if (!a.remainder(n2).equals(n0) && !a.remainder(n3).equals(n0)) { lista.add(a); } } } }
Standard input is empty
[1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53, 55, 59, 61, 65, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95, 97]