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.

A256485 Primes p for which there are more primes in range [p^2, p*nextprime(p)] than in range [p*nextprime(p), nextprime(p)^2], where nextprime(p) gives the next prime after prime p.

Original entry on oeis.org

41, 97, 101, 163, 167, 179, 181, 191, 193, 197, 223, 227, 229, 257, 271, 277, 283, 307, 313, 347, 367, 373, 389, 419, 443, 457, 479, 503, 521, 547, 563, 577, 587, 593, 599, 641, 643, 659, 661, 673, 683, 691, 719, 811, 821, 823, 829, 839, 857, 859, 877, 907, 929, 937, 983, 1009, 1021, 1031, 1051, 1063, 1087, 1091, 1093, 1151, 1153
Offset: 1

Views

Author

Antti Karttunen, Mar 30 2015

Keywords

Examples

			For p=41, we have in range [41*41, 41*43] (1681 .. 1763) 11 primes: {1693, 1697, 1699, 1709, 1721, 1723, 1733, 1741, 1747, 1753, 1759}, while in the latter range [41*43, 43*43] (1763 .. 1849) we have 9 primes: {1777, 1783, 1787, 1789, 1801, 1811, 1823, 1831, 1847}, thus 41 is included in the sequence.
		

Crossrefs

Complement among primes: A256484.

Programs

Formula

a(n) = A000040(A256475(n)).