reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Steven Brown, <a href="https://arxiv.org/abs/2311.06873">Distance between consecutive elements of the multiplicative group of integers modulo n</a>, arXiv:2311.06873 [math.NT], 2023. See Table 1 p. 25.
approved
editing
editing
approved
a(n) = product(p-2) - 2*product(p-3) + product(p-4), when where p runs over through the primes greater than > 3 and until p <= prime(n).
proposed
editing
editing
proposed
a(n) = product(p-2) - 2*product(p-3) + product(p-4), when p runs over the primes greater than 3 and until p = prime(n).
proposed
editing
editing
proposed
Table[Product[Prime@ k - 2, {k, 3, n}] - 2 Product[Prime@ k - 3, {k, 3, n}] + Product[Prime@ k - 4, {k, 3, n}], {n, 21}] (* Michael De Vlieger, Apr 11 2016 *)
proposed
editing