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.

A108341 Numbers n such that 997*n - 1009 is prime.

Original entry on oeis.org

6, 8, 18, 30, 36, 38, 44, 66, 78, 90, 98, 104, 116, 134, 140, 144, 156, 164, 168, 170, 200, 228, 230, 246, 248, 260, 276, 296, 318, 344, 354, 374, 378, 380, 386, 408, 420, 426, 450, 464, 468, 480, 500, 510, 546, 576, 578, 584, 606, 608, 618, 620, 630, 654, 678
Offset: 1

Views

Author

Parthasarathy Nambi, Jun 30 2005

Keywords

Comments

997 and 1009 are primes.
All terms are even. - Harvey P. Dale, Mar 09 2019

Examples

			If n=6, then 997*n - 1009 = 4973 (prime).
If n=90, then 997*n - 1009 = 88721 (prime).
		

Crossrefs

Cf. A101086.

Programs

  • Maple
    a:=proc(n) if isprime(997*n-1009)=true then n else fi end: seq(a(n),n=1..750); # Emeric Deutsch, Jul 04 2005
  • Mathematica
    Select[Range[2,700,2],PrimeQ[997#-1009]&] (* Harvey P. Dale, Mar 09 2019 *)
  • PARI
    is(n)=isprime(997*n-1009) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

More terms from Emeric Deutsch, Jul 04 2005