cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A096478 a(n) = A000040(A096477(n)), i.e., prime(a(n)) and prime(a(n)+1) are twin primes.

This page as a plain text file.
%I A096478 #22 Aug 13 2024 05:32:18
%S A096478 2,3,5,7,13,17,41,43,83,89,109,113,173,277,307,313,353,373,463,563,
%T A096478 577,601,613,643,673,719,743,1117,1123,1171,1279,1571,1621,1627,1709,
%U A096478 1741,1823,1867,1907,1949,1979,1987,1999,2003,2063,2099,2153,2287,2309,2311
%N A096478 a(n) = A000040(A096477(n)), i.e., prime(a(n)) and prime(a(n)+1) are twin primes.
%C A096478 Gives primes in A029707. - _Pierre CAMI_, Apr 20 2006
%H A096478 Amiram Eldar, <a href="/A096478/b096478.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..1000 from Vincenzo Librandi)
%e A096478 89 is a term since it is a prime and prime(89 + 1) - prime(89) = 463 - 461 = 2; the prime with subscript 89 (which is prime) and the next prime (i.e., prime(90)) are twin primes.
%t A096478 Prime[Flatten[Position[Table[Prime[Prime[n]+1]-Prime[Prime[n]], {n, 1, 1000}], 2]]]
%Y A096478 Cf. A000040, A006450, A072677, A073124, A096477.
%Y A096478 Cf. A029707, A000720.
%K A096478 nonn
%O A096478 1,1
%A A096478 _Labos Elemer_, Jun 23 2004