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.

A081759 Numbers n such that 5n+6 is prime.

Original entry on oeis.org

1, 5, 7, 11, 13, 19, 25, 29, 35, 37, 41, 47, 49, 53, 55, 61, 65, 79, 83, 85, 91, 97, 103, 107, 113, 119, 125, 127, 131, 137, 139, 149, 151, 161, 163, 175, 181, 187, 193, 197, 203, 205, 209, 211, 217, 229, 233, 235, 239, 245, 257, 259, 263, 271, 275, 289
Offset: 1

Views

Author

Giovanni Teofilatto, Nov 21 2003

Keywords

References

  • M. Cerasoli, F. Eugeni and M. Protasi, Elementi di Matematica Discreta, Bologna 1988
  • Emanuele Munarini and Norma Zagaglia Salvi, Matematica Discreta, UTET, CittaStudiEdizioni, Milano 1997

Crossrefs

Programs

  • Magma
    [n: n in [0..300]| IsPrime(5*n + 6)]; // Vincenzo Librandi, Oct 16 2012
    
  • Maple
    A081759 := proc(n) option remember: local k: if(n=1)then return 1: fi: for k from procname(n-1)+1 do if(isprime(5*k+6))then return k: fi: od: end: seq(A081759(n),n=1..100); # Nathaniel Johnston, May 28 2011
  • Mathematica
    Select[Range[300], PrimeQ[5# + 6] &] (* Ray Chandler, Dec 06 2006 *)
  • PARI
    is(n)=isprime(5*n+6) \\ Charles R Greathouse IV, Feb 17 2017

Formula

a(n) = 2*A024912(n) - 1.

Extensions

Corrected by Ray Chandler, Nov 22 2003