Posts by William • 31 points
3 posts
-
0
votes1
answer68
viewsQ: How to print only numbers that repeat between two different progressive formulas?
I have two progressive formulas of 10 numbers. Each will be added to a certain number. The first formula progresses like this 0+2+4+6+8+10+12+14+16+18+20. And its result is…
-
1
votes1
answer85
viewsQ: How to print only numbers that repeat between two different formulas?
I have two 50 number formulas. One has multiples of 3 and the other multiples of 7. Code: public static void main(String[] args) { BigInteger start = new BigInteger("1"); BigInteger limit = new…
-
-1
votes1
answer109
viewsQ: How to print only numbers that repeat between two different lists?
I have two lists of 50 numbers. One has multiples of 3 and the other multiples of 7. Code: public static void main(String[] args) { List<Long> lista1 = new ArrayList<>(); List…