OFFSET
1,1
COMMENTS
See A356093 for details.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..351
MATHEMATICA
primorial[n_] := Product[Prime[i], {i, 1, n}]; Denominator[Table[(Prime[i] - 1)/primorial[i], {i, 1, 20}]]
PROG
(PARI) a(n) = denominator((prime(n)-1)/factorback(primes(n))); \\ Michel Marcus, Jul 26 2022
(Python)
from math import gcd
from sympy import primorial, prime
def A356094(n): return (p:=primorial(n))//gcd(p, prime(n)-1) # Chai Wah Wu, Jul 26 2022
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Amiram Eldar, Jul 26 2022
STATUS
approved