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!)
A126250 Numbers n such that the sum of the first n factorials of primes is either a power of 2 or a prime times a power of 2. 0
1, 2, 3, 5, 6, 16, 27 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Note that from 2!+3!+5!+7! on, the power of 2 will always be 2^4. So after the first 3 terms, an equivalent definition is that the sum has the form 16p for some prime p. Also, the sequence is finite: For all n>=762, prime(1)! + ... + prime(n)! is divisible by prime(763) = 5813 and is therefore not of the form 16p. - Dean Hickerson.
LINKS
FORMULA
n such that SUM[i=1..n] p(i)! is in A093641.
EXAMPLE
1: 2! = 2^1.
2: 2! + 3! = 2^3.
3: 2! + 3! + 5! = 2^7.
5: 2! + 3! + 5! + 7! + 11! = 2^4 * 2495123.
6: 2! + 3! + 5! + 7! + 11! + 13! = 2^4 * 391683923.
16: 2! + 3! + 5! + 7! + 11! + 13! + 17! + 19! + 23! + 29! + 31! + 37! + 41! + 43! + 47! + 53!
= 2^4 * 267180205269915554141118596111444784297830210088558990999466998531923.
CROSSREFS
Sequence in context: A355483 A079226 A055686 * A293027 A276353 A109628
KEYWORD
easy,fini,full,nonn
AUTHOR
Jonathan Vos Post, Dec 21 2006
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)