[go: up one dir, main page]

login
Write down the nonprime numbers 1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, ... and insert between two nonprimes the smallest prime not yet present in the sequence such that two neighboring integers sum to a nonprime.
3

%I #16 Jun 10 2016 00:21:00

%S 1,5,4,2,6,19,8,7,9,11,10,23,12,13,14,31,15,17,16,47,18,37,20,29,21,3,

%T 22,41,24,53,25,43,26,59,27,67,28,89,30,61,32,73,33,71,34,83,35,79,36,

%U 97,38,103,39,101,40,113,42,127,44,109,45,107,46,137,48,139,49,151,50,157,51,131,52,149

%N Write down the nonprime numbers 1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, ... and insert between two nonprimes the smallest prime not yet present in the sequence such that two neighboring integers sum to a nonprime.

%H Jean-Marc Falcoz, <a href="/A222307/b222307.txt">Table of n, a(n) for n = 1..30615</a>

%H Jean-Marc Falcoz, <a href="http://www.cetteadressecomportecinquantesignes.com/PrimesAndPrimeSums.htm">Primes and prime sums</a>

%H J.-M. Falcoz, <a href="/A209259/a209259.pdf">Primes and prime sums</a> [Cached copy, with permission]

%Y This is a kind of dual to A209259.

%K nonn

%O 1,2

%A _N. J. A. Sloane_, Feb 15 2013, based on a posting by Eric Angelini to the Sequence Fans Mailing List, Jan 14 2013. Terms computed by Jean-Marc Falcoz.