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.
1, 2, 3, 5, 6, 16, 27
Offset: 1
Examples
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
Formula
n such that SUM[i=1..n] p(i)! is in A093641.
Comments