login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066205 a(n) = Product_{k=1..n} prime(2k-1), where prime(k) is k-th prime. 28

%I #30 Jan 13 2022 10:01:14

%S 2,10,110,1870,43010,1333310,54665710,2569288370,151588013830,

%T 10156396926610,741416975642530,61537608978329990,5969148070898009030,

%U 614822251302494930090,67015625391971947379810,8510984424780437317235870,1166004866194919912461314190

%N a(n) = Product_{k=1..n} prime(2k-1), where prime(k) is k-th prime.

%C Equivalently, a(n) is the product of the first n odd-indexed primes. - _Jon E. Schoenfield_, Jan 12 2022

%H Harry J. Smith, <a href="/A066205/b066205.txt">Table of n, a(n) for n = 1..100</a>

%e a(3) = prime(1) * prime(3) * prime(5) = 2 * 5 * 11 = 110.

%p a:= proc(n) option remember;

%p `if`(n=0, 1, a(n-1)*ithprime(2*n-1))

%p end:

%p seq(a(n), n=1..17); # _Alois P. Heinz_, Jan 12 2022

%t FoldList[Times, Array[Prime[2 # - 1] &, 17]] (* _Michael De Vlieger_, Jan 12 2022 *)

%o (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

%o (PARI) a(n) = prod(k=1, n, prime(2*k-1)); \\ _Michel Marcus_, Jan 13 2022

%Y Cf. A000040, A002110, A066206.

%K nonn

%O 1,1

%A _Leroy Quet_, Dec 16 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 12:53 EDT 2024. Contains 371969 sequences. (Running on oeis4.)