OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A089079(n) - 3.
MATHEMATICA
Select[Range[400], PrimeQ[7# - 2] &] (* Vincenzo Librandi, Sep 26 2012 *)
PROG
(Magma) [ n: n in [1..500] | IsPrime(7*n-2) ]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(7*n-2) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved