login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A153137 Smallest sequence of noncomposite numbers such that no sum of at least two terms is prime. 2
1, 3, 5, 113, 181, 661, 10891, 927149, 88070399, 15288362671 (list; graph; refs; listen; history; text; internal format)
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^#a-1, 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 02:51 EDT 2020. Contains 334747 sequences. (Running on oeis4.)