cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A153137 #12 Dec 08 2015 03:18:06
%S A153137 1,3,5,113,181,661,10891,927149,88070399,15288362671
%N A153137 Smallest sequence of noncomposite numbers such that no sum of at least two terms is prime.
%o A153137 (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
%Y A153137 Cf. A153136, A153138, A133660, A052349, A254337, A254341.
%K A153137 more,nonn
%O A153137 1,2
%A A153137 _Benoit Jubin_, Dec 19 2008
%E A153137 a(8)-a(10) from _Donovan Johnson_, Dec 23 2008