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.

A276658 Tribonacci-like sequence a(n) = a(n-1) + a(n-2) + a(n-3) for n >= 3, with a(0) = 1, a(1) = 2, a(2) = 0.

This page as a plain text file.
%I A276658 #19 May 31 2020 00:53:50
%S A276658 1,2,0,3,5,8,16,29,53,98,180,331,609,1120,2060,3789,6969,12818,23576,
%T A276658 43363,79757,146696,269816,496269,912781,1678866,3087916,5679563,
%U A276658 10446345,19213824,35339732,64999901,119553457,219893090
%N A276658 Tribonacci-like sequence a(n) = a(n-1) + a(n-2) + a(n-3) for n >= 3, with a(0) = 1, a(1) = 2, a(2) = 0.
%H A276658 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,1).
%F A276658 G.f.: (3 x^2-x-1)/(x^3+x^2+x-1).
%F A276658 a(n) = A275778(n) - A000073(n).
%t A276658 LinearRecurrence[{1, 1, 1}, {1, 2, 0}, 35] (* or *)
%t A276658 RecurrenceTable[{a[n] == a[n - 1] + a[n - 2] + a[n - 3], a[1] == 1, a[2] == 2, a[3] == 0}, a, {n, 35}] (* or *)
%t A276658 CoefficientList[Series[(-1 - x + 3 x^2)/(-1 + x + x^2 + x^3), {x, 0, 40}], x]
%o A276658 (PARI) a(n)=([0,1,0; 0,0,1; 1,1,1]^n*[1;2;0])[1,1] \\ _Charles R Greathouse IV_, Sep 13 2016
%Y A276658 Cf. A000073, A275778.
%K A276658 nonn,easy
%O A276658 0,2
%A A276658 _Nicolas Bègue_, Sep 11 2016