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.

A329894 Terms of A025487 from which the distance to the next larger prime is a composite number.

Original entry on oeis.org

512, 16384, 373248, 393216, 524288, 1119744, 4194304, 4718592, 5971968, 8388608, 10077696, 10616832, 17915904, 21233664, 31104000, 33554432, 35831808, 42467328, 47775744, 56623104, 67108864, 150994944, 159252480, 286654464, 322486272, 362797056, 679477248, 859963392, 1528823808, 2176782336, 2890137600, 4294967296, 5804752896, 8748000000
Offset: 1

Views

Author

Antti Karttunen, Dec 24 2019

Keywords

Comments

From the first 795641 terms of A025487 (terms that are in range 1 .. 2^101) only 4238 (~ 0.5 %) are included in this sequence.

Examples

			As A151800(512) = 521, with 521 - 512 = 9 (a composite number), 512 is included in this sequence.
		

Crossrefs

Programs

  • PARI
    isc(n) = ((n > 1)&&!isprime(n));
    for(n=1,2000,if(isc(nextprime(1+A025487(n))-A025487(n)),print1(A025487(n),", ")));