TeX source:
p=2q+1