The OEIS is supported by the many generous donors to the OEIS Foundation.

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A075568 Rearrangement of noncomposite numbers such that every partial sum is composite. 1

%I #7 Dec 05 2013 19:55:38

%S 1,3,2,19,5,47,7,11,13,17,23,29,31,37,41,43,53,59,61,71,67,73,79,83,

%T 89,101,97,103,107,113,109,131,127,137,139,149,151,157,163,167,173,

%U 179,181,191,193,197,199,211,223,229,227,239,233,241,251,257,263,271,269

%N Rearrangement of noncomposite numbers such that every partial sum is composite.

%o (PARI) v=vector(1000000):s=1:for(n=1,100,f=0:forprime(p=2,1000000,if(!v[p]&&!isprime(s+p),f=p:break)): if(f,print1(f","):v[f]=1:s=s+f,print1("0,")))

%Y First differences of A123055 (except for the leading 1). - _N. J. A. Sloane_, Sep 26 2006

%K nonn

%O 1,2

%A _Amarnath Murthy_, Sep 25 2002

%E More terms from _Ralf Stephan_, Mar 30 2003

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

Last modified December 9 23:06 EST 2023. Contains 367696 sequences. (Running on oeis4.)