login
This site is supported by donations 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

Table of n, a(n) for n=1..74.

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

Cf. A212281, A212282, A212321, A212636.

Sequence in context: A320044 A128868 A095986 * A283273 A269599 A059908

Adjacent sequences:  A212634 A212635 A212636 * A212638 A212639 A212640

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 23 18:54 EST 2019. Contains 320438 sequences. (Running on oeis4.)