login
A374006
Product of the first n primes greater than or equal to n.
0
1, 2, 6, 105, 5005, 85085, 7436429, 215656441, 35336848261, 1448810778701, 62298863484143, 2928046583754721, 832363787945546597, 50774191064678342417, 18579448222667298067513, 1356299720254712758928449, 107147677900122307955347471, 8893257265710151560293840093
OFFSET
0,2
COMMENTS
This sequence came up in the course of a currently ongoing investigation into Singmaster's conjecture by a group including the author of this sequence.
FORMULA
a(n) = Product_{i=1+pi(n-1)..n+pi(n-1)} prime(i).
a(n) = A272899(n) <=> n in A141468.
EXAMPLE
a(4) is the product of the first four primes greater than or equal to 4: 5*7*11*13 = 5005.
MAPLE
a:= n-> mul((nextprime@@i)(n-1), i=1..n):
seq(a(n), n=0..17); # Alois P. Heinz, Jun 24 2024
MATHEMATICA
a[n_]:=Product[Prime[i], {i, 1+PrimePi[n-1], n+PrimePi[n-1]}]; Array[a, 18, 0] (* Stefano Spezia, Jun 25 2024 *)
PROG
(PARI) a(n) = if (n==0, 1, my(p=nextprime(n)); vecprod(primes([p, prime(primepi(p)+n-1)]))); \\ Michel Marcus, Jun 25 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jesse Hammer, Jun 24 2024
STATUS
approved