[go: up one dir, main page]

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”).

A086304
Numbers n such that n+6 is prime.
3
1, 5, 7, 11, 13, 17, 23, 25, 31, 35, 37, 41, 47, 53, 55, 61, 65, 67, 73, 77, 83, 91, 95, 97, 101, 103, 107, 121, 125, 131, 133, 143, 145, 151, 157, 161, 167, 173, 175, 185, 187, 191, 193, 205, 217, 221, 223, 227, 233, 235, 245, 251, 257, 263, 265, 271, 275, 277
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*A089038(n+1)-1.
MATHEMATICA
Select[Range[0, 900], PrimeQ[# + 6] &] (* Vincenzo Librandi, Oct 16 2012 *)
PROG
(Magma) [n: n in [0..300]| IsPrime(n + 6)]; // Vincenzo Librandi, Oct 16 2012
(PARI) is(n)=isprime(n+6) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Cf. A089038.
Sequence in context: A277907 A136144 A262084 * A193947 A120222 A054794
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Aug 29 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Nov 29 2003
STATUS
approved