OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MAPLE
select(k->isprime(9*k+1), [$1..370]); # Muniru A Asiru, Jul 15 2018
MATHEMATICA
Select[Range[400], PrimeQ[9#+1]&] (* Vladimir Joseph Stephan Orlovsky, Feb 25 2011 *)
PROG
(Magma) [n: n in [1..1000] |IsPrime(9*n+1)]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(9*n+1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved