OFFSET
1,1
COMMENTS
Equivalently, a(n) is the product of the first n odd-indexed primes. - Jon E. Schoenfield, Jan 12 2022
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
EXAMPLE
a(3) = prime(1) * prime(3) * prime(5) = 2 * 5 * 11 = 110.
MAPLE
a:= proc(n) option remember;
`if`(n=0, 1, a(n-1)*ithprime(2*n-1))
end:
seq(a(n), n=1..17); # Alois P. Heinz, Jan 12 2022
MATHEMATICA
FoldList[Times, Array[Prime[2 # - 1] &, 17]] (* Michael De Vlieger, Jan 12 2022 *)
PROG
(PARI) { for (n=1, 100, p=1; for (k=1, n, p*=prime(2*k - 1)); write("b066205.txt", n, " ", p) ) } \\ Harry J. Smith, Feb 05 2010
(PARI) a(n) = prod(k=1, n, prime(2*k-1)); \\ Michel Marcus, Jan 13 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 16 2001
STATUS
approved