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!)
A114339 Numbers n such that 1/5 of the cumulative sum of the first n factorials of nonprimes is prime. 1

%I #9 Oct 20 2013 13:00:34

%S 2,3,5,6,11,22,49,58,115,125,133,151,394,645,680

%N Numbers n such that 1/5 of the cumulative sum of the first n factorials of nonprimes is prime.

%F n iff (1/5)*SUM[i=1 to n]A000142(A018252(i)) is in A000040. n iff (1/5)*SUM[i=1 to n]nonprime(i)! is in A000040.

%e a(1) = 2 because (nonprime(1)!+nonprime(2)!)/5 = (1! + 4!)/5 = 25/5 = 5 is prime.

%e a(2) = 3 because (nonprime(1)!+nonprime(2)!+nonprime(3)!)/5 = (1! + 4! + 6!)/5 = 745/5 = 43 is prime.

%e a(3) = 5 because (1! + 4! + 6! + 8! + 9!)/5 = 40395/5 = 80789 is prime.

%e a(4) = 6 because (1! + 4! + 6! + 8! + 9! + 10!)/5 = 4032745/5 = 806549 is prime.

%e a(5) = 11 because (1! + 4! + 6! + 8! + 9! + 10! + 12! + 14! + 15! + 16! + 18!)/5 = 128498366261909 is prime.

%e a(6) = 22 because (1! + 4! + 6! + 8! + 9! + 10! + 12! + 14! + 15! + 16! + 18! + 20! + 21! + 22! + 24! + 25! + 26! + 27! + 28! + 30! + 32! + 33!)/5 =

%e 1789342804960406115195785578904885909 is prime.

%e a(7) = 49 because (1! + 4! + 6! + 8! + 9! + 10! + 12! + 14! + 15! + 16! + 18! + 20! + 21! + 22! + 24! + 25! + 26! + 27! + 28! + 30! + 32! + 33! + 34! + 35! + 36! + 38! + 39! + 40! + 42! + 44! + 45! + 46! + 48! + 49! + 50! + 51! + 52! + 54! + 55! + 56! + 57! + 58! + 60! + 62! + 63! + 64! + 65! + 66! + 68!)/5 =

%e 496117652785503784612715578829982325957792421778841808879262147120349639368839627755489688885909 is prime.

%Y Cf. A000040, A000142, A018252.

%K hard,more,nonn

%O 1,1

%A _Jonathan Vos Post_, Feb 07 2006

%E 8 more terms from _R. J. Mathar_, Oct 20 2013

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 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)