The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A254252 A200791 A254812 * A258523 A257147 A254579
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 24 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 18:30 EDT 2024. Contains 373107 sequences. (Running on oeis4.)