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!)
A213366 Minimal of max(m,k) (m>=1,k>=0) such that (2*n-1)!!/m-2^k is prime. 2

%I #59 Nov 16 2014 06:54:19

%S 1,1,1,2,2,2,1,1,1,5,3,2,6,5,3,5,2,3,3,3,3,5,5,3,1,7,5,8,7,3,5,5,5,5,

%T 7,1,9,7,2,2,3,3,7,1,3,10,7,5,4,11,9,2,9,7,9,9,13,13,9,3,9,5,12,7,1,5,

%U 7,5,9,6,3,5,5,11,10,1,5,5,7,3,3,3,8,9,2,6,7,4,7,9,5,4,6,7,5,10,15,4,9,11,15,9,21,13,7,11,7,8,7,8,12,7,4,12,5,7,20,9,5,21,2,1,3,9,5,13,16,13,9,4,15,11,13,5,2,9,7,11,11,11,17,9,8,9,15,15,2,12,3

%N Minimal of max(m,k) (m>=1,k>=0) such that (2*n-1)!!/m-2^k is prime.

%o (PARI) a(n)=my(m=-1, P=prod(i=2, n, 2*i-1)); while(m+=2, for(k=m-2, m-1, forstep(M=1, m-2, 2, if(ispseudoprime(P/M-2^k), return(k)))); for(k=0, m, if(ispseudoprime(P/m-2^k), return(m)))) \\ _Charles R Greathouse IV_, Feb 27 2013

%Y Cf. A212281, A212282, A212321, A212636, A212637, A212648.

%K nonn

%O 2,4

%A _Vladimir Shevelev_, Feb 15 2013

%E Terms beginning with a(10) from _Peter J. C. Moses_

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 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)