OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
R. J. Lemke Oliver and K. Soundararajan, Unexpected biases in the distribution of consecutive primes, arXiv:1603.03720 [math.NT], 2016.
R. J. Lemke Oliver and K. Soundararajan, Unexpected biases in the distribution of consecutive primes, Proceedings of the National Academy of Sciences of the United States of America, Vol. 113, No. 31 (2016), E4446-E4454.
MATHEMATICA
First @ Transpose @ Select[Partition[Select[Range[4500], PrimeQ], 2, 1], Mod[First[#], 10] == 1 && Mod[Last[#], 10] == 7 &] (* Amiram Eldar, Jan 20 2020 *)
Prime[#]&/@SequencePosition[Mod[Prime[Range[600]], 10], {1, 7}][[All, 1]] (* Harvey P. Dale, Oct 17 2022 *)
PROG
(Magma) [p: p in PrimesUpTo(4400)| (p mod 10 eq 1) and (NextPrime(p) mod 10 eq 7)]; // Marius A. Burtea, Jan 20 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
A.H.M. Smeets, Jan 20 2020
STATUS
approved