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!)
A334142 Indices of twin primes. 0
2, 3, 4, 5, 6, 7, 8, 10, 11, 13, 14, 17, 18, 20, 21, 26, 27, 28, 29, 33, 34, 35, 36, 41, 42, 43, 44, 45, 46, 49, 50, 52, 53, 57, 58, 60, 61, 64, 65, 69, 70, 81, 82, 83, 84, 89, 90, 98, 99, 104, 105, 109, 110, 113, 114, 116, 117, 120, 121, 140, 141, 142, 143, 144, 145, 148, 149 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

Eric Weisstein's World of Mathematics, Twin Primes

FORMULA

a(n) = A000720(A001097(n)).

Set union of A029707 and A107770.

MAPLE

q:= n-> (p-> isprime(p-2) or isprime(p+2))(ithprime(n)):

select(q, [$1..150])[];  # Alois P. Heinz, Apr 15 2020

CROSSREFS

Cf. A000720, A001097, A029707, A107770.

Sequence in context: A058363 A049810 A132018 * A044919 A011871 A229769

Adjacent sequences:  A334139 A334140 A334141 * A334143 A334144 A334145

KEYWORD

nonn

AUTHOR

Ilya Gutkovskiy, Apr 15 2020

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 June 14 10:04 EDT 2021. Contains 345025 sequences. (Running on oeis4.)