_Body's blog

By _Body, history, 2 years ago, In English

there is an unknown number x<=1000 and i want to find it i can ask two questions 1-number y and it will tell me if x is divisble by y 2-array and it will tell me if there is a number y in the array such that gcd(x,y)>1 it's true or false it won't tell what is the number

i can ask at most 40 questions i'm not able to do that in less than 190 queries

Full text and comments »

  • Vote: I like it
  • -7
  • Vote: I do not like it