OFFSET
1,1
COMMENTS
Primes == 1, 3, 5, 7, or 9 (mod 20). Primes whose 10's digit is even. - Robert Israel, Dec 27 2017
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A240920(n+1) for n >= 1. - Georg Fischer, Oct 30 2018
MAPLE
Load the Maple program HH given in A296920. Then run HH(-5, 200);
select(isprime, {seq(seq(20*i+j, j=[1, 3, 5, 7, 9]), i=0..100)}); # Robert Israel, Dec 27 2017
MATHEMATICA
Select[Prime@ Range@ 120, MemberQ[{0, 1}, KroneckerSymbol[-5, #]] &] (* or *)
Select[Prime@ Range@ 120, MemberQ[Range[1, 9, 2], Mod[#, 20]] &] (* Michael De Vlieger, Jan 02 2018 *)
PROG
(PARI) lista(nn) = forprime(p=2, nn, if (kronecker(-5, p) >= 0, print1(p, ", "))); \\ Michel Marcus, Dec 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 25 2017
STATUS
approved