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.

A108727 Numbers n such that 11*n + 31 is prime.

Original entry on oeis.org

0, 2, 6, 12, 18, 20, 26, 32, 38, 56, 60, 66, 72, 80, 86, 90, 96, 98, 102, 116, 122, 128, 132, 138, 140, 146, 156, 168, 170, 180, 188, 192, 206, 210, 222, 228, 240, 242, 252, 266, 270, 272, 276, 278, 290, 300, 312, 318, 326, 336, 342, 350, 356, 362, 366, 368, 380
Offset: 1

Views

Author

Parthasarathy Nambi, Jun 21 2005

Keywords

Examples

			If n=0, then 11*n + 31 = 31 (prime).
If n=56, then 11*n + 31 = 647 (prime).
		

Crossrefs

Cf. A108233.

Programs

  • Maple
    a:=proc(n) if isprime(11*n+31)=true then n else fi end: seq(a(n),n=0..450); # Emeric Deutsch, Jun 26 2005
  • Mathematica
    Select[Range[0,400],PrimeQ[11#+31]&] (* Harvey P. Dale, Nov 02 2011 *)
  • PARI
    is(n)=isprime(11*n+31) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

More terms from Emeric Deutsch, Jun 26 2005