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.

A074325 Difference between (1+2^n)-th and (2^n)-th primes. Also number of terms in blocks of A073798.

This page as a plain text file.
%I A074325 #26 May 10 2024 04:13:39
%S A074325 1,2,4,4,6,6,2,8,2,2,6,18,18,30,8,24,6,2,18,4,26,30,34,2,10,30,10,2,
%T A074325 30,6,70,4,12,22,6,24,26,10,88,2,50,18,6,20,14,4,12,6,2,56,4,30,42,6,
%U A074325 70,74,14,60,170,14,44,22,52,36,96,6,86,86,72,48,42,18,20,24,10,154,54,20,12
%N A074325 Difference between (1+2^n)-th and (2^n)-th primes. Also number of terms in blocks of A073798.
%F A074325 a(n) = A051439(n) - A033844(n).
%F A074325 a(n) = A001223(A000079(n)). - _Michel Marcus_, May 10 2024
%e A074325 For n = 39: 2^39 = 549755813888, prime(549755813889) = 16149760533343, prime(549755813888) =  16149760533341, difference = 2 (just twin primes), so a(39) = 2.
%t A074325 Table[Prime[1+2^n] - Prime[2^n], {n, 1, 39}]
%Y A074325 Cf. A051439, A033844, A073798, A000079, A001223.
%K A074325 nonn,hard
%O A074325 0,2
%A A074325 _Labos Elemer_, Aug 21 2002
%E A074325 More terms from _Michel ten Voorde_ Jun 13 2003
%E A074325 a(42) from _Max Alekseyev_, May 08 2009
%E A074325 Offset corrected by _Max Alekseyev_, Oct 24 2013
%E A074325 a(43)-a(57) from _Chai Wah Wu_, Aug 30 2019
%E A074325 a(58)-a(78) calculated using the data at A033844 and A051439 and added by _Amiram Eldar_, May 10 2024