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!)
A212637 Minimal m>=0 such that (2*n-1)!! + 2^m is prime. 3
0, 1, 1, 1, 1, 2, 4, 3, 2, 6, 1, 1, 3, 1, 2, 7, 5, 11, 16, 2, 3, 2, 4, 4, 11, 6, 4, 33, 1, 12, 18, 3, 20, 5, 38, 17, 2, 1, 18, 3, 14, 26, 11, 14, 63, 3, 2, 13, 110, 44, 34, 1, 22, 44, 114, 37, 43, 39, 5, 13, 12, 57, 41, 12, 18, 13, 9, 8, 13, 52, 26, 78, 37, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
MAPLE
a:= proc(n) local m;
for m from 0 while not isprime(doublefactorial(2*n-1)+2^m)
do od; m
end:
seq(a(n), n=1..70); # Alois P. Heinz, Feb 18 2013
MATHEMATICA
a[n_] := Block[{f = (2*n - 1)!!, m = 0}, While[! PrimeQ[f + 2^m], m++]; m]; a/@Range[70] (* Giovanni Resta, Feb 15 2013 *)
CROSSREFS
Sequence in context: A128868 A341073 A095986 * A283273 A269599 A368519
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Feb 14 2013
EXTENSIONS
a(9)-a(70) from Giovanni Resta, Feb 15 2013
STATUS
approved

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)