[go: up one dir, main page]

login
A075568
Rearrangement of noncomposite numbers such that every partial sum is composite.
1
1, 3, 2, 19, 5, 47, 7, 11, 13, 17, 23, 29, 31, 37, 41, 43, 53, 59, 61, 71, 67, 73, 79, 83, 89, 101, 97, 103, 107, 113, 109, 131, 127, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 229, 227, 239, 233, 241, 251, 257, 263, 271, 269
OFFSET
1,2
COMMENTS
Conjectured to consist of consecutive primes after 53. (See also comments in A123055.)
PROG
(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, ")))
CROSSREFS
First differences of A123055 (except for the leading 1). - N. J. A. Sloane, Sep 26 2006
Sequence in context: A317831 A078073 A317927 * A366377 A057026 A032448
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 25 2002
EXTENSIONS
More terms from Ralf Stephan, Mar 30 2003
STATUS
approved