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.

A135373 a(n) = prime(2^(n + 1)) - prime(2^n).

This page as a plain text file.
%I A135373 #13 Nov 15 2020 03:48:39
%S A135373 1,4,12,34,78,180,408,900,2052,4490,9702,21010,45144,96486,205590,
%T A135373 435548,920896,1938594,4072946,8535970,17845982,37242540,77569570,
%U A135373 161300102,334906956,694329000,1437620932,2972973918,6141189354,12672042908,26122458858,53799031890
%N A135373 a(n) = prime(2^(n + 1)) - prime(2^n).
%F A135373 a(n) = A033844(n+1) - A033844(n). - _Jinyuan Wang_, Nov 14 2020
%t A135373 Table[Prime[2^(n + 1)] - Prime[2^n], {n, 0, 40}]
%t A135373 #[[2]]-#[[1]]&/@Partition[Prime[2^Range[0,30]],2,1] (* _Harvey P. Dale_, Feb 21 2015 *)
%o A135373 (PARI) a(n) = prime(2^(n + 1)) - prime(2^n); \\ _Michel Marcus_, Nov 15 2020
%Y A135373 Cf. A000040, A033844, A135371.
%K A135373 nonn
%O A135373 0,2
%A A135373 _Marvin Ray Burns_, Dec 09 2007
%E A135373 a(29)-a(31) from _Jinyuan Wang_, Nov 14 2020