# Previous such prime

$2017=2^{11}-2^5+1$

Given the equality above, what is the largest prime number $p\, (<2017)$ that could be represented as

$p=2^a \pm 2^b \pm 1?$

×