OFFSET
1,1
COMMENTS
Being a subset of A141158, this is also a subset of the primes of form x^2 - 5*y^2. - Tito Piezas III, Dec 28 2008
Apparently primes p such that 5 | tau(p), where Ramanujan's tau is A000594. - Charles R Greathouse IV, Jul 08 2013
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime@Range[210], MemberQ[{0, 4}, Mod[ #, 5]] &] (* Ray Chandler, Nov 07 2006 *)
PROG
(Magma) [ p: p in PrimesUpTo(1300) | p mod 5 in {0, 4} ]; // Vincenzo Librandi, Aug 13 2012
(PARI) is(n)=n==5 || (n%5==4 && isprime(n)) \\ Charles R Greathouse IV, Jul 08 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Extended by Ray Chandler, Nov 07 2006
STATUS
approved