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.

Showing 1-1 of 1 results.

A117094 Numbers k such that nextprime(5*k) > 5*nextprime(k) (if p is prime then nextprime(p) = p).

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 17, 18, 19, 23, 28, 29, 31, 37, 40, 41, 43, 47, 53, 59, 60, 61, 67, 71, 72, 73, 78, 79, 82, 83, 89, 96, 97, 101, 102, 103, 105, 106, 107, 109, 113, 127, 131, 137, 139, 149, 151, 155, 156, 157, 163, 166, 167, 173, 178, 179, 180, 181, 191, 192, 193, 197, 199, 211, 222, 223, 226
Offset: 1

Views

Author

Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Apr 18 2006

Keywords

Comments

Includes all primes. - Robert Israel, Jul 25 2025

Examples

			13 is a term since nextprime(5*13) = 67 and nextprime(5)*nextprime(13) = 5*13=65 and 67 > 65.
		

Crossrefs

Union of A000040 and A117101.
Cf. A007918 (nextprime).

Programs

  • Maple
    select(n -> nextprime(5*n) > 5*nextprime(n-1), [$1..1000]); # Robert Israel, Jul 25 2025
  • Mathematica
    Select[Range[250], NextPrime[5*#] > 5*NextPrime[# - 1] &] (* Paolo Xausa, Jul 28 2025 *)
  • PARI
    for(i=1,150,if(nextprime(5*i)>nextprime(5)*nextprime(i),print1(i,",")))

Extensions

More terms from Robert Israel, Jul 25 2025
Showing 1-1 of 1 results.