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.
%I A329894 #7 Dec 24 2019 17:31:40 %S A329894 512,16384,373248,393216,524288,1119744,4194304,4718592,5971968, %T A329894 8388608,10077696,10616832,17915904,21233664,31104000,33554432, %U A329894 35831808,42467328,47775744,56623104,67108864,150994944,159252480,286654464,322486272,362797056,679477248,859963392,1528823808,2176782336,2890137600,4294967296,5804752896,8748000000 %N A329894 Terms of A025487 from which the distance to the next larger prime is a composite number. %C A329894 From the first 795641 terms of A025487 (terms that are in range 1 .. 2^101) only 4238 (~ 0.5 %) are included in this sequence. %H A329894 Antti Karttunen, <a href="/A329894/b329894.txt">Table of n, a(n) for n = 1..4238</a> %e A329894 As A151800(512) = 521, with 521 - 512 = 9 (a composite number), 512 is included in this sequence. %o A329894 (PARI) %o A329894 isc(n) = ((n > 1)&&!isprime(n)); %o A329894 for(n=1,2000,if(isc(nextprime(1+A025487(n))-A025487(n)),print1(A025487(n),", "))); %Y A329894 Cf. A025487, A129912, A141345, A151800. %K A329894 nonn %O A329894 1,1 %A A329894 _Antti Karttunen_, Dec 24 2019