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
3, 5, 11, 17, 19, 27, 29, 35, 41, 43, 49, 57, 59, 65, 69, 71, 77, 79, 83, 95, 101, 107, 125, 127, 131, 137, 147, 149, 153, 161, 163, 169, 173, 179, 189, 191, 197, 201, 221, 227, 229, 233, 239, 247, 253, 259, 267, 269, 275, 281, 305, 311, 327, 329, 347, 349, 353 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A124115 sorted and duplicates removed.

LINKS

Table of n, a(n) for n=1..57.

EXAMPLE

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

PROG

(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], ", "))}

CROSSREFS

Cf. A124115.

Sequence in context: A088328 A102643 A279767 * A045408 A092740 A214296

Adjacent sequences:  A125628 A125629 A125630 * A125632 A125633 A125634

KEYWORD

nonn

AUTHOR

Klaus Brockhaus, Nov 28 2006

STATUS

approved

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 May 29 01:41 EDT 2022. Contains 354122 sequences. (Running on oeis4.)