login
A329894
Terms of A025487 from which the distance to the next larger prime is a composite number.
2
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,1
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.
LINKS
EXAMPLE
As A151800(512) = 521, with 521 - 512 = 9 (a composite number), 512 is included in this sequence.
PROG
(PARI)
isc(n) = ((n > 1)&&!isprime(n));
for(n=1, 2000, if(isc(nextprime(1+A025487(n))-A025487(n)), print1(A025487(n), ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 24 2019
STATUS
approved