NO:12345678910
EVEN: 2 4 6 8 10
EVEN2: 4 8
EVEN3: 8
NO:12345678910
EVEN: 2 4 6 8 10
EVEN2: 4 8
EVEN3: 8
Hello @cris18…
Can you please specify what is it that exactly needs to be done in this problem?
Without a correct question formulation it will be very hard to help you properly…
Best regards,
Bruno
Are you looking for a java program or any thing else ? please specify ?
One little observation is that:
Initially, the series formed is an AP with a common difference of 2^1
next one is an AP with a common difference of 2^2
and the next and the last one with a common difference of 2^3
You just need to implement this in your code, whatever is the question.
Be more specific next time, and all the best.
its like titanic, where in no:12345678910 will choose the even no:246810 then it will save 4 and 8 and the answer is 8