login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100021 Numbers of the form 3prime(n) - prime(n+1) - 3. 2
0, 1, 5, 7, 17, 19, 29, 31, 37, 53, 53, 67, 77, 79, 85, 97, 113, 113, 127, 137, 137, 151, 157, 167, 187, 197, 199, 209, 211, 209, 247, 253, 269, 265, 293, 293, 305, 319, 325, 337, 353, 349, 377, 379, 389, 383, 407, 439, 449, 451, 457, 473, 469, 493, 505, 517, 533, 533, 547 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Except for the initial term, a(n)==(1,5) mod 6.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

FORMULA

a(n) = A098764(n) - 3.

MAPLE

f:=n->3*ithprime(n)-ithprime(n+1)-3;

MATHEMATICA

3#[[1]]-#[[2]]-3&/@Partition[Prime[Range[80]], 2, 1] (* Harvey P. Dale, Oct 13 2018 *)

CROSSREFS

Cf. A099389 for the primes arising in the sequence, A098764.

Sequence in context: A216731 A045318 A040102 * A099389 A099382 A163633

Adjacent sequences:  A100018 A100019 A100020 * A100022 A100023 A100024

KEYWORD

nonn

AUTHOR

Giovanni Teofilatto, Nov 20 2004

EXTENSIONS

Corrected by Neven Juric (neven.juric(AT)apis-it.hr), rechecked by N. J. A. Sloane, Jun 13 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 21:07 EDT 2020. Contains 337344 sequences. (Running on oeis4.)