A220378 With p as the n-th prime, a(n) is the smallest number such that all sums of a(n) squarefree addends having product (p#)^(a(n)-1) are composite.
5, 21, 134, 1365, 1627177
Offset: 1
Examples
a(1)=5, since a sum of one 1 and a number of 2s produces a prime for 2 through 4 addends and a composite for 5. Two possibilities present for n=2: A) where one addend lacks factors 2 and 3 and B) where two different addends lack one or the other (i.e., 6(k-1)+1=6k-5 and 6(k-2)+5=6k-7, where k is the number of addends). Not until there are 21 addends are both sums--121 and 119--composite. So a(2)=21.
Comments