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.

A101086 Numbers k for which 997*k + 1009 is prime.

Original entry on oeis.org

0, 6, 10, 12, 22, 36, 64, 76, 82, 94, 126, 130, 136, 144, 150, 162, 174, 186, 202, 204, 246, 250, 252, 274, 276, 292, 294, 300, 306, 312, 330, 342, 360, 364, 390, 430, 466, 472, 480, 484, 490, 502, 526, 540, 546, 582, 586, 592, 594, 606, 610, 616, 622, 642
Offset: 1

Views

Author

Parthasarathy Nambi, Jan 21 2005

Keywords

Comments

997 is the largest three-digit prime and 1009 is the smallest four-digit prime.

Examples

			If k=6, then 997*6 + 1009 = 6991 (prime).
If k=10, then 997*10 + 1009 = 10979 (prime).
If k=12, then 997*12 + 1009 = 12973 (prime).
		

Crossrefs

Programs

  • Magma
    [ n: n in [0..700] | IsPrime(997*n + 1009) ]; // Vincenzo Librandi, Feb 04 2011
  • Mathematica
    Select[Range[0,700],PrimeQ[997#+1009]&] (* Harvey P. Dale, Jun 29 2011 *)

Extensions

Extended by Ray Chandler, Jan 25 2005