login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A330366 Prime numbers p_k such that p_k == 1 (mod 10) and p_(k+1) == 1 (mod 10). 6

%I #29 Sep 08 2022 08:46:24

%S 181,241,421,631,691,811,1021,1051,1171,1471,1801,2521,2731,3001,3361,

%T 3571,4201,4231,4261,4831,4861,5011,5351,5581,5701,5791,6091,6121,

%U 6301,6481,6491,6691,6781,7321,8101,8221,8821,8941,9421,9511,9931,10141,10321,10771,11161,11971

%N Prime numbers p_k such that p_k == 1 (mod 10) and p_(k+1) == 1 (mod 10).

%H A.H.M. Smeets, <a href="/A330366/b330366.txt">Table of n, a(n) for n = 1..20000</a>

%H R. J. Lemke Oliver and K. Soundararajan, <a href="http://arxiv.org/abs/1603.03720">Unexpected biases in the distribution of consecutive primes</a>, arXiv:1603.03720 [math.NT], 2016.

%H R. J. Lemke Oliver and K. Soundararajan, <a href="https://doi.org/10.1073/pnas.1605366113">Unexpected biases in the distribution of consecutive primes</a>, Proceedings of the National Academy of Sciences of the United States of America, Vol. 113, No. 31 (2016), E4446-E4454.

%t First @ Transpose @ Select[Partition[Select[Range[13500], PrimeQ], 2, 1], Mod[First[#], 10] == 1 && Mod[Last[#],10] == 1 &] (* _Amiram Eldar_, Jan 20 2020 *)

%o (PARI) isok(p) = isprime(p) && ((p % 10)==1) && ((nextprime(p+1) % 10) == 1); \\ _Michel Marcus_, Jan 20 2020

%o (Magma) [p: p in PrimesUpTo(14000)| (p mod 10 eq 1) and (NextPrime(p) mod 10 eq 1)]; // _Marius A. Burtea_, Jan 20 2020

%Y Cf. A030430 (1, any), this sequence (1, 1), A331555 (1, 3), A331324 (1, 7), A030431 (3, any), A030432 (7, any), A030433 (9, any) [where (a, b) means p_k == a (mod 10) and p_(k+1) == b (mod 10)].

%K nonn

%O 1,1

%A _A.H.M. Smeets_, Dec 12 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)