OFFSET
1,1
COMMENTS
Except for the first 2 terms, every term's last digit is a 7 in base 10.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= p -> andmap(isprime, [p, 6*p-1, 6*p+1, 12*p-1]):
select(filter, [2, 5, seq(i, i=7..10^5, 10)]); # Robert Israel, Dec 23 2022
MATHEMATICA
Select[Prime[Range[8500]], PrimeQ[6*# - 1] && PrimeQ[6*# + 1] && PrimeQ[12*# - 1] &] (* Amiram Eldar, Nov 13 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Tamas Nagy, Nov 12 2022
STATUS
approved