若复数z=(x2-1)+(x-1)i(x∈R,i为虚数单位)为纯虚数,则x+i2013的值为______.