Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114145
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A114145
%S A114145 2,4,6,7,8,9,10,12,13,14,15,16,18,20,21,23,24,25,26,27,28,30,32,37,38,
%T A114145 39,40,42,44,45,46,48,53,54,55,56,57,58,60,62,63,64,67,68,69,70,72,74,
%U A114145 75,76,77,78,80,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,100,102
%N A114145 Self-describing sequence : 2 composite integers between two primes, then 
               4 composites, then 6, then 7, then 8, etc. The quantity of composites 
               in each run is given by the sequence itself. (Sequence is strictly 
               increasing and the smallest next available prime is used when needed).
%C A114145 PARI program by Klaus Brockhaus.
%e A114145 Runs of composites between brackets:
%e A114145 2,(4,6),7,(8,9,10,12),13,(14,15,16,18,20,21),23,(24,25,26,27,28,30,32)...
%e A114145 .^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
%e A114145 .2 comp. 4 comp. 6 comp. 7 comp. (etc.) = the sequence itself
%o A114145 (PARI) {m=20;k=2;v=[k];for(j=1,m,count=0;while(count<v[j],if(!isprime(k),
               v=concat(v,k); count++);k++);k=nextprime(k);v=concat(v,k));for(n=1,
               #v,print1(v[n],","))}
%Y A114145 Sequence in context: A015860 A147613 A155939 this_sequence A153351 A153343 
               A136499
%Y A114145 Adjacent sequences: A114142 A114143 A114144 this_sequence A114146 A114147 
               A114148
%K A114145 base,easy,nonn
%O A114145 2,1
%A A114145 Eric Angelini (eric.angelini(AT)kntv.be), Feb 03 2006

    
page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research