The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A096478 a(n) = A000040(A096477(n)), i.e., prime(a(n)) and prime(1 + a(n)) are twin primes. 4
2, 3, 5, 7, 13, 17, 41, 43, 83, 89, 109, 113, 173, 277, 307, 313, 353, 373, 463, 563, 577, 601, 613, 643, 673, 719, 743, 1117, 1123, 1171, 1279, 1571, 1621, 1627, 1709, 1741, 1823, 1867, 1907, 1949, 1979, 1987, 1999, 2003, 2063, 2099, 2153, 2287, 2309, 2311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Gives primes in A029707. - Pierre CAMI, Apr 20 2006
LINKS
EXAMPLE
n=10: a(10) = 89 means that prime(1 + 89) - prime(89) = 463 - 461 = 2; prime with subscript 89 (which is prime) and the next prime (i.e., prime(90)) are twin primes.
MATHEMATICA
Prime[Flatten[Position[Table[Prime[Prime[n]+1]-Prime[Prime[n]], {n, 1, 1000}], 2]]]
CROSSREFS
Sequence in context: A051026 A028865 A053435 * A342244 A076047 A245640
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 23 2004
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 21 19:35 EDT 2024. Contains 372738 sequences. (Running on oeis4.)