Shouldn't the output of 2 be 1, in fact, output of each input should be 1


#1

2 can be expressed as 4 ^ 6, 4 > 1 and 6 > 0 and both are integers. So, it satisfies all the conditions, therefore, the answer should be 1 instead of 0.


#2

^ isn’t an XOR function. It is the power function. So, 4^6 is 44444*4. Sorry if you have already figured it out.


#3

no we can not represent 2 , only way is 2^1 ; but in the question itself it is given power must be greater than 1