%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.
%C Conjectured to consist of consecutive primes after 53. (See also comments in A123055.)
%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
|