

A153137


Smallest sequence of noncomposite numbers such that no sum of at least two terms is prime.


2




OFFSET

1,2


LINKS

Table of n, a(n) for n=1..10.


PROG

(PARI) print1(1); a=[1]; for(n=1, 10, forprime(p=vecmin(a)+1, , setsearch(a, p)&&next; for(i=1, 2^#a1, isprime(normlp(vecextract(a, i), 1)+p)&&next(2)); a=concat(a, p); print1(", "p))) \\ Very simplistic, should at least avoid an odd number of terms in the partial sum of earlier terms. \\ M. F. Hasler, Jan 29 2015


CROSSREFS

Cf. A153136, A153138, A133660, A052349, A254337, A254341.
Sequence in context: A289488 A054266 A054268 * A105526 A070743 A245442
Adjacent sequences: A153134 A153135 A153136 * A153138 A153139 A153140


KEYWORD

more,nonn


AUTHOR

Benoit Jubin, Dec 19 2008


EXTENSIONS

a(8)a(10) from Donovan Johnson, Dec 23 2008


STATUS

approved



