Composites between primes

Max relf at unn.ac.ru
Wed Feb 1 18:31:57 CET 2006


Eric Angelini wrote:
> Hello SeqFan,
> is this of interest?
> 
> 2,4,6,7,8,9,10,12,13,14,15,16,18,20,21,23,24,25,26,27,28,30,32,37...
> P ^ ^ P ^ ^ ^  ^  P.  ^  ^  ^  ^ ^  ^  P. ^  ^  ^  ^  ^  ^  ^  P.
>    2       4                 6                    7   ...
> 
> Self-describing sequence : A(n) indicates the quantity
> of composite numbers which are between two successive
> primes.
> (this is not an accurate definition -- please help me to
> rephrase!)

But where are primes 3,5,11,etc. in the first row?

> If this is of interest, could someone compute more terms?

If the first row contained all positive integers, then you sequence would be
the first difference of the function
nthprime(n) - n = A014689(n)
that is
A014689(n+1)-A014689(n).

Max






More information about the SeqFan mailing list