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!)
A125631 Numbers of the form 2*prime(i) - prime(i+1) + 2. 1

%I

%S 3,5,11,17,19,27,29,35,41,43,49,57,59,65,69,71,77,79,83,95,101,107,

%T 125,127,131,137,147,149,153,161,163,169,173,179,189,191,197,201,221,

%U 227,229,233,239,247,253,259,267,269,275,281,305,311,327,329,347,349,353

%N Numbers of the form 2*prime(i) - prime(i+1) + 2.

%C A124115 sorted and duplicates removed.

%e 2*prime(21) - prime(22) + 2 = 2*73 - 79 + 2 = 69, so 69 is in the sequence.

%o (PARI) {p=2;q=3;v=[];while(p<370,v=concat(v,2*p-q+2);p=q; q=nextprime(q+1));v=listsort(List(v),1);for(j=1,#v-1,print1(v[j],","))}

%Y Cf. A124115.

%K nonn

%O 1,1

%A _Klaus Brockhaus_, Nov 28 2006

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 July 1 02:58 EDT 2022. Contains 354947 sequences. (Running on oeis4.)