OFFSET
1,2
MATHEMATICA
Table[ Part[ Part[ ExtendedGCD[ Prime[ i ], Prime[ i+1 ] ], 2 ], 1 ], {i, 50} ]
PROG
(PARI) a(n)=gcdext(prime(n), prime(n+1))[1] \\ Charles R Greathouse IV, Nov 16 2015
CROSSREFS
KEYWORD
sign
AUTHOR
EXTENSIONS
Name made stricter and terms updated and extended by Sean A. Irvine, Mar 24 2021
STATUS
approved