Computer Science, asked by Gauravgogol, 1 year ago

Ritik loves to jump here and there.So his friend Sugam gave him an array of N Integers in which he can choose any pair of Integers Ai and Aj only if i+K=j.Now he can add 1 to one of those elements and subtract one from the other i.e move 1 from one element to the other.He can perform this operation any number of times by jumping here and there in the array.

Now Ritik wants to know if he can make all the numbers Prime by jumping and performing 0 or more number of given operations on the array.

Note-0 and 1 are not considered as prime numbers.


Answers

Answered by priyanshi36
3
sorry I am not getting what it meant
Similar questions