OFFSET
1,3
MATHEMATICA
Table[ Part[ Part[ ExtendedGCD[ Prime[ i ], Prime[ i+1 ] ], 2 ], 2 ], {i, 50} ]
PROG
(PARI) a(n)=gcdext(prime(n), prime(n+1))[2] \\ 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