• Stuck at 176, any hints?

Question related to mission Prime Palindrome Golf

 
golf=lambda a:[x for x in range(a+1,7**6)if(~-2**x%x<2)*\`x\`[::-1]==\`x\`][0]
14