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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A075571 Rearrangement of odd primes such that sum of three successive terms is composite. 1
3, 5, 7, 13, 19, 17, 29, 11, 23, 31, 37, 43, 41, 59, 47, 53, 61, 71, 73, 101, 79, 67, 89, 97, 103, 109, 83, 107, 113, 131, 127, 137, 139, 149, 157, 163, 151, 167, 179, 173, 181, 191, 193, 197, 199, 227, 211, 229, 223, 233, 239, 241, 251, 257, 263, 269, 271 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
PROG
(PARI) print1("3, 5, "):pr=vector(10000):v=vector(100):v[1]=3:v[2]=5:pr[3]=1:pr[5]=1:for(n=3, 100, forprime(p=3, 10000, if(!pr[p]&&!isprime(v[n-2]+v[n-1]+p), print1(p", "):v[n]=p:pr[p]=1:break)))
CROSSREFS
Cf. A075572.
Sequence in context: A079481 A291867 A219674 * A077133 A164642 A247633
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 25 2002
EXTENSIONS
Corrected and extended by Ralf Stephan, Mar 27 2003
STATUS
approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)