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.

A100683 a(n) = a(n-1) + a(n-2) + a(n-3); a(0) = -1, a(1) = 2, a(2) = 2.

This page as a plain text file.
%I A100683 #50 Feb 16 2025 08:32:55
%S A100683 -1,2,2,3,7,12,22,41,75,138,254,467,859,1580,2906,5345,9831,18082,
%T A100683 33258,61171,112511,206940,380622,700073,1287635,2368330,4356038,
%U A100683 8012003,14736371,27104412,49852786,91693569,168650767,310197122
%N A100683 a(n) = a(n-1) + a(n-2) + a(n-3); a(0) = -1, a(1) = 2, a(2) = 2.
%C A100683 A tribonacci sequence.
%C A100683 From _Greg Dresden_ and _Veda Garigipati_, Jun 14 2022: (Start)
%C A100683 For n >= 2, a(n+2) is the number of ways to tile this figure of length n with squares, dominoes, and "trominoes" (of length 3):
%C A100683    ___
%C A100683   |_|_|___________
%C A100683   |_|_|_|_|_|_|_|_|
%C A100683 As an example, here is one of the 254 possible tilings of this figure of length 8 with squares, dominoes, and trominoes:
%C A100683    ___
%C A100683   | |_|___________
%C A100683   |_|_____|_|___|_|. (End)
%H A100683 Robert Price, <a href="/A100683/b100683.txt">Table of n, a(n) for n = 0..1000</a>
%H A100683 Martin Burtscher, Igor Szczyrba, and RafaƂ Szczyrba, <a href="http://www.emis.de/journals/JIS/VOL18/Szczyrba/sz3.html">Analytic Representations of the n-anacci Constants and Generalizations Thereof</a>, Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.5.
%H A100683 S. Kak, <a href="http://arXiv.org/abs/physics/0411195">The Golden Mean and the Physics of Aesthetics</a>, arXiv:physics/0411195 [physics.hist-ph], 2004.
%H A100683 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/TribonacciNumber.html">Tribonacci Number</a>
%H A100683 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,1).
%F A100683 a(n+1) = 2*A001590(n+1) + A020992(n). - _Creighton Dement_, May 02 2005
%F A100683 O.g.f.: -(1-3x-x^2)/(1-x-x^2-x^3). - _R. J. Mathar_, Aug 22 2008
%F A100683 a(n) = T(n-2) + T(n) + T(n+1) where T(n) = A000073(n) the tribonacci sequence, for n >= 2. - _Greg Dresden_ and _Veda Garigipati_, Jun 14 2022
%p A100683 a[0]:=-1:a[1]:=2:a[2]:=2:for n from 3 to 42 do a[n]:=a[n-1]+a[n-2]+a[n-3] od: seq(a[n],n=0..42);
%t A100683 a[0] = -1; a[1] = a[2] = 2; a[n_] := a[n] = a[n - 1] + a[n - 2] + a[n - 3]; Table[ a[n], {n, 0, 35}] (* _Robert G. Wilson v_, Dec 09 2004 *)
%t A100683 LinearRecurrence[{1,1,1},{-1,2,2},34] (* _Ray Chandler_, Dec 08 2013 *)
%o A100683 (PARI) Vec(-(1-3*x-x^2)/(1-x-x^2-x^3) + O(x^70)) \\ _Michel Marcus_, Sep 25 2015
%Y A100683 Cf. A232542, A232543.
%Y A100683 Cf. A001590, A020992.
%Y A100683 Cf. A000073.
%K A100683 sign,easy
%O A100683 0,2
%A A100683 _N. J. A. Sloane_, Dec 08 2004
%E A100683 More terms from _Emeric Deutsch_, _Farideh Firoozbakht_ and _Robert G. Wilson v_, Dec 08 2004