Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114339
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114339 Numbers n such that 1/5 of the cumulative sum of the first n factorials of nonprimes is prime. +0
2
2, 3, 5, 6, 11, 22, 49 (list; graph; listen)
OFFSET

1,1

FORMULA

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.

EXAMPLE

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

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

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

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

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

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 =

1789342804960406115195785578904885909 is prime.

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 =

496117652785503784612715578829982325957792421778841808879262147120349639368839627755489688885909 is prime.

CROSSREFS

Cf. A000040, A000142, A018252.

Sequence in context: A068441 A112598 A078913 this_sequence A127525 A128958 A007435

Adjacent sequences: A114336 A114337 A114338 this_sequence A114340 A114341 A114342

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com), Feb 07 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research