(MAGMAMagma) [n: n in [0..300]| IsPrime(n + 6)]; // Vincenzo Librandi, Oct 16 2012
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”).
(MAGMAMagma) [n: n in [0..300]| IsPrime(n + 6)]; // Vincenzo Librandi, Oct 16 2012
editing
approved
(PARI) is(n)=isprime(n+6) \\ Charles R Greathouse IV, May 22 2017
approved
editing
editing
approved
a(n) = 2*A089038(n+1)-1.
Numbers n such that n+6 is prime.
a(n) = 2*A089038(n)-1.
easy,nonn,easy,changed
proposed
editing
editing
proposed
Vincenzo Librandi, <a href="/A086304/b086304.txt">Table of n, a(n) for n = 1..1000</a>
Select[Range[0, 900], PrimeQ[# + 6] &] (* Vincenzo Librandi, Oct 16 2012 *)
(MAGMA) [n: n in [0..300]| IsPrime(n + 6)]; // Vincenzo Librandi, Oct 16 2012
approved
editing
_Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), _, Aug 29 2003
Corrected and extended by _Ray Chandler (rayjchandler(AT)sbcglobal.net), _, Nov 29 2003