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.
%I A278476 #15 Sep 08 2022 08:46:18 %S A278476 1,14,196,2757,38793,545858,7680804,108077113,1520760385,21398722502, %T A278476 301102875412,4236838978269,59616848571177,838872718974746, %U A278476 11803834914217620,166092561518021425,2337099696166517569,32885488307849267390,462733936006056261028 %N A278476 a(n) = floor((1 + sqrt(2))^3*a(n-1)) for n>0, a(0) = 1. %C A278476 In general, the ordinary generating function for the recurrence relation b(n) = floor((1 + sqrt(2))^k*b(n - 1)) with n>0 and b(0) = 1, is (1 - x)/(1 - round((1 + sqrt(2))^k)*x + x^2) if k is nonzero even, and (1 - x - x^2)/((1 - x)*(1 - round((1 + sqrt(2))^k)*x - x^2)) if k is odd or k = 0. %H A278476 G. C. Greubel, <a href="/A278476/b278476.txt">Table of n, a(n) for n = 0..869</a> %H A278476 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (15,-13,-1). %F A278476 G.f.: (1 - x - x^2)/((1 - x)*(1 - 14*x - x^2)). %F A278476 a(n) = 15*a(n-1) - 13*a(n-2) - a(n-3). %F A278476 a(n) = ((65 - 52*sqrt(2))*(7 - 5*sqrt(2))^n + 13*(5 + 4*sqrt(2))*(7 + 5*sqrt(2))^n + 10)/140. %p A278476 seq(coeff(series((1-x-x^2)/((1-x)*(1-14*x-x^2)),x,n+1), x, n), n = 0 .. 20); # _Muniru A Asiru_, Oct 11 2018 %t A278476 RecurrenceTable[{a[0] == 1, a[n] == Floor[(1 + Sqrt[2])^3 a[n - 1]]}, a, {n, 18}] %t A278476 LinearRecurrence[{15, -13, -1}, {1, 14, 196}, 19] %t A278476 CoefficientList[Series[(1-x-x^2)/((1-x)*(1-14*x-x^2)), {x,0,50}], x] (* _G. C. Greubel_, Oct 10 2018 *) %o A278476 (PARI) Vec((1 - x - x^2)/((1 - x)*(1 - 14*x - x^2)) + O(x^50)) \\ _G. C. Greubel_, Nov 24 2016 %o A278476 (Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((1-x-x^2)/((1-x)*(1-14*x-x^2)))); // _G. C. Greubel_, Oct 10 2018 %Y A278476 Cf. A014176. %Y A278476 Cf. similar sequences with recurrence relation b(n) = floor((1 + sqrt(2))^k*b(n-1)) for n>0, b(0) = 1: A024537 (k = 1), A001653 (k = 2), this sequence (k = 3), A077420 (k = 4), A097733 (k = 6). %K A278476 nonn,easy %O A278476 0,2 %A A278476 _Ilya Gutkovskiy_, Nov 23 2016