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!)
A098764 a(n) = 3p - q where p and q are consecutive primes. 2
3, 4, 8, 10, 20, 22, 32, 34, 40, 56, 56, 70, 80, 82, 88, 100, 116, 116, 130, 140, 140, 154, 160, 170, 190, 200, 202, 212, 214, 212, 250, 256, 272, 268, 296, 296, 308, 322, 328, 340, 356, 352, 380, 382, 392, 386, 410, 442, 452, 454, 460, 476, 472, 496, 508, 520 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Except for the initial term, a(n)=={2, 4} mod 6.

Not monotonic: a(29) = 214 > 212 = a(30), a(33) = 272 > 268 = a(34), etc. - Charles R Greathouse IV, Jun 03 2013

LINKS

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

FORMULA

3*A000040 - 3 - A086801(n).

a(n) = 3*A000040(n)-A000040(n+1) = A001748(n)-A000040(n+1) = A001747(n+1)-A001223(n). - R. J. Mathar, Apr 22 2010

a(n) ~ 2n log n. - Charles R Greathouse IV, Jun 03 2013

PROG

(PARI) a(n) = 3*prime(n) - prime(n+1) \\ Michel Marcus, Jun 03 2013

CROSSREFS

Equals A001043(n) - 2*A001223(n+1). Cf. A000040, A047235, A086801.

Sequence in context: A210249 A233771 A072606 * A105407 A222395 A222269

Adjacent sequences:  A098761 A098762 A098763 * A098765 A098766 A098767

KEYWORD

nonn,easy

AUTHOR

Giovanni Teofilatto, Sep 30 2004

EXTENSIONS

Corrected (116 duplicated) by R. J. Mathar, Apr 22 2010

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 28 15:04 EDT 2022. Contains 354115 sequences. (Running on oeis4.)