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.

A198274 a(n) = 13*2^n-1.

This page as a plain text file.
%I A198274 #34 Feb 06 2025 10:19:00
%S A198274 12,25,51,103,207,415,831,1663,3327,6655,13311,26623,53247,106495,
%T A198274 212991,425983,851967,1703935,3407871,6815743,13631487,27262975,
%U A198274 54525951,109051903,218103807,436207615,872415231,1744830463,3489660927,6979321855,13958643711
%N A198274 a(n) = 13*2^n-1.
%C A198274 a(n) + a(n-1)^2 = (a(n-1)+1)^2. - _Vincenzo Librandi_, Mar 24 2013
%H A198274 Vincenzo Librandi, <a href="/A198274/b198274.txt">Table of n, a(n) for n = 0..1000</a>
%H A198274 Gennady Eremin, <a href="https://arxiv.org/abs/2405.16143">Partitioning the set of natural numbers into Mersenne trees and into arithmetic progressions; Natural Matrix and Linnik's constant</a>, arXiv:2405.16143 [math.CO], 2024. See pp. 3, 14.
%H A198274 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (3,-2).
%F A198274 a(n+1) = 2*a(n) + 1.
%F A198274 G.f.: ( 12-11*x ) / ( (2*x-1)*(x-1) ). - _R. J. Mathar_, Oct 25 2011
%e A198274 a(2) = 13*2^2-1 = 51.
%t A198274 Table[13 2^n - 1, {n, 0, 30}] (* _Vincenzo Librandi_, Mar 24 2013 *)
%t A198274 LinearRecurrence[{3,-2},{12,25},40] (* _Harvey P. Dale_, Feb 06 2019 *)
%o A198274 (BASIC) for j = 0 to 30 : print str$((13*2^j)-1)+", "; : next j
%o A198274 (Magma) [13*2^n-1: n in [0..30]]; // _Vincenzo Librandi_, Oct 28 2011
%o A198274 (PARI) a(n) = 13*2^n-1; \\ _Michel Marcus_, Jan 17 2016
%Y A198274 Cf. A005029, A086224.
%K A198274 nonn,easy
%O A198274 0,1
%A A198274 _Jeremy Gardiner_, Oct 23 2011