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.

A153136 Smallest sequence of primes such that no sum of at least two terms is prime.

Original entry on oeis.org

2, 7, 13, 43, 103, 1627, 25349, 315743, 7338823, 42939980423
Offset: 1

Views

Author

Benoit Jubin, Dec 19 2008

Keywords

Crossrefs

Programs

  • PARI
    a=[];for(n=1,10, forprime(p=2,,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 odd primes in the partial sum of earlier terms. \\ M. F. Hasler, Jan 29 2015

Extensions

a(8)-a(10) from Donovan Johnson, Dec 23 2008