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!)
A289556 Primes p such that both 5*p - 4 and 4*p - 5 are prime. 0

%I #27 Aug 04 2017 15:31:25

%S 3,7,13,43,67,109,127,151,163,211,277,307,373,457,463,601,613,673,727,

%T 853,919,967,1021,1117,1171,1231,1399,1471,1483,1747,1789,1933,2029,

%U 2251,2311,2389,2503,2521,2557,2659,2851,2857,3019,3067,3121,3229,3583,3613,3637,3691,3697

%N Primes p such that both 5*p - 4 and 4*p - 5 are prime.

%C The terms of this sequence belong to two disjoint subsequences, namely those for which |A(5*p) - A(4*p)| = 9; (3,7,13,43,67,127,163,211,277,307,457,...), and those for which 5*A(4*p) - 3*A(5*p) = 3, (109,151,373,673,919,...), where A = A288814.

%C Note: A288814(n) = A056240(n) for all composite n.

%e P=7: 5*7 - 4 = 31, 4*7 - 5 = 23, both prime so 7 is in this sequence, and belongs to the subsequence of terms satisfying A(4*p) - A(3*p) = 9.

%e P=109: 5*109 - 4 = 541, 4*109 - 5 = 431, both prime so 109 is in this sequence, and belongs to the subsequence of terms satisfying 5*A(4*p) - 3*A(5*p) = 3.

%t Select[Prime@ Range@ 516, Times @@ Boole@ Map[PrimeQ, {5 # - 4, 4 # - 5}] > 0 &] (* _Michael De Vlieger_, Aug 02 2017 *)

%Y Cf. A259730, A288814, A290163, A290164, A056240.

%Y Intersection of A136051 and A156300. - _Michel Marcus_, Aug 04 2017

%K nonn

%O 1,1

%A _David James Sycamore_, Aug 02 2017

%E More terms from _Altug Alkan_, Aug 02 2017

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.)