This site is supported by donations to The OEIS Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A114333 Integers K with prime sum of the first K factorials of odd numbers. 1
 2, 3, 4, 5, 28, 32 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS k = 6, 7, 8, 22, 27, and 29 yield semiprimes. The sequence is finite because the sum of the factorials of the first k odd numbers is divisible by 107 for every k >= 53. - Giovanni Resta, Jun 14 2016 LINKS FORMULA {a(n)} = {k such that 1! + 3! + ... + (2k-1)! is prime}. {a(n)} = (k such that SUM[from j=1 to k] A000142(A005408(j)) is in A000040}. EXAMPLE a(1) = 2 because 1! + 3! = 7 is prime. a(2) = 3 because 1! + 3! + 5! = 127 is prime. a(3) = 4 because 1! + 3! + 5! + 7! = 5167 is prime. a(5) = 28 because 1! + 3! + 5! + 7! + 9! + 11! + 13! + 15! + 17! + 19! + 21! + 23! + 25! + 27! + 29! + 31! + 33! + 35! + 37! + 39! + 41! + 43! + 45! + 47! + 49! + 51! + 53! + 55! = 12700679788669629845870127416097655693745481645117320232505943379392681647 is prime. a(6) = 32 because 1! + 3! + ... + (2*32+1)! = 1! + 3! + ... + 63! = 1983116034341975454789449189498620955194254460449807567074683265838922666583379392681647 is prime. MATHEMATICA Select[Range, PrimeQ[Sum[(2 k - 1)!, {k, #}]] &] (* Giovanni Resta, Jun 14 2016 *) CROSSREFS Cf. A000040, A000142, A005408. Sequence in context: A051143 A084853 A115337 * A265098 A076209 A037399 Adjacent sequences:  A114330 A114331 A114332 * A114334 A114335 A114336 KEYWORD nonn,fini,full AUTHOR Jonathan Vos Post, Feb 06 2006 EXTENSIONS Missing a(4) = 5 and keywords fini and full added by Giovanni Resta, Jun 14 2016 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.

Last modified September 17 11:03 EDT 2019. Contains 327129 sequences. (Running on oeis4.)