login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A081759
Numbers n such that 5n+6 is prime.
14
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,2
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
LINKS
FORMULA
a(n) = 2*A024912(n) - 1.
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 *)
PROG
(Magma) [n: n in [0..300]| IsPrime(5*n + 6)]; // Vincenzo Librandi, Oct 16 2012
(PARI) is(n)=isprime(5*n+6) \\ Charles R Greathouse IV, Feb 17 2017
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Nov 21 2003
EXTENSIONS
Corrected by Ray Chandler, Nov 22 2003
STATUS
approved