An Elegant Way To Define A Sequence
Answer :
I believe your sequence continues forever but grows quickly. If is large, the density of primes around is . Since is so much smaller than , the chance a random has arrows is about . The expected number of sequences of length above say, is then . This diverges because becomes less than for large enough and we know the integral of diverges. Each subtraction is only of order , which is small compared to and the log will not change much.
If we ask what length of sequence we expect to find among the digit numbers, we note that the log of these numbers is about and that . We would expect to find some sequences of arrows, maybe or , and be surprised at or more. For digit numbers, the log is about and , so we would expect some sequences of length or among the digit numbers.
`my(a=0,b=0);forprime(x=1,50000,y=x;while(isprime(y-primepi(y)),y-=primepi(y);b++);if(b>a,a=b;print(x));b=0)`
produces 14897 as the next one. Then no more below 500000. There's not too much to say except primes in the sequence will be primes at even indices after the first, simply because most primes are more than 2 away from their indices.
Comments
Post a Comment