OFFSET
1,1
LINKS
Nitya Mani and Simon Rubinstein-Salzedo, Diophantine Tuples over Zp, arXiv:1902.09048 [math.NT], 2019. See Lemma 3.3. p. 4.
MATHEMATICA
1/2-1/(#+1)&/@Prime[Range[70]]//Denominator (* Harvey P. Dale, Feb 19 2023 *)
PROG
(PARI) a(n) = denominator(1/2 - 1/(prime(n)+1));
(Python)
from sympy import prime
from fractions import Fraction
def a(n): return (Fraction(1, 2) - Fraction(1, (prime(n)+1))).denominator
print([a(n) for n in range(1, 66)]) # Michael S. Branicky, Jun 04 2021
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Michel Marcus, Feb 26 2019
STATUS
approved