已知x为整数,且分式[2x+2x2−1的值为整数,则x可取的值有(  )