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!)
A212792 Product of all primes in the interval ((n+1)/2,n]. 2

%I #10 Nov 20 2023 15:31:34

%S 1,2,3,3,5,5,35,35,7,7,77,77,143,143,143,143,2431,2431,46189,46189,

%T 4199,4199,96577,96577,7429,7429,7429,7429,215441,215441,6678671,

%U 6678671,392863,392863,392863,392863,765049,765049,765049,765049,31367009,31367009,1348781387

%N Product of all primes in the interval ((n+1)/2,n].

%C The case n=1 is special and defined conventionally.

%C a(n) = A034386(n)/A034386(1+floor((n+1)/2)).

%C Notice that the interval is semiopen; a prime p is included in the product if (n+1)<2p<=2n.

%H Stanislav Sykora, <a href="/A212792/b212792.txt">Table of n, a(n) for n = 1..1000</a>

%e a(13) = product of all primes in (7,13] = 11*13 = 143.

%o (PARI) {p2(n) = result=1;forprime(p=1+floor((n+1)\2),n,result=result*p);}

%Y Cf. A212791, A034386.

%K nonn

%O 1,2

%A _Stanislav Sykora_, May 27 2012

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)