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 A107660 #18 Jun 13 2015 00:51:49 %S A107660 1,6,21,72,225,702,2133,6480,19521,58806,176661,530712,1592865, %T A107660 4780782,14344533,43040160,129127041,387400806,1162222101,3486725352, %U A107660 10460235105,31380882462,94142824533,282429005040,847287546561 %N A107660 Sum 3^max(k,n-k),k=0..n. %C A107660 Third column of A107661. %H A107660 Vincenzo Librandi, <a href="/A107660/b107660.txt">Table of n, a(n) for n = 0..1000</a> %H A107660 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,3,-9). %F A107660 G.f.: (1+3*x)/((1-3*x)*(1-3*x^2)). %F A107660 a(2n) = 3^(2n+1) - 2*3^n; a(2n+1) = 9^(n+1) - 3^(n+1). %F A107660 a(n) = A167993(n+2) + 3*A167993(n+1). - _R. J. Mathar_, Aug 16 2013 %t A107660 CoefficientList[Series[(1 + 3 x) / ((1 - 3 x) (1 - 3 x^2)), {x, 0, 40}], x] (* _Vincenzo Librandi_, Aug 17 2013 *) %Y A107660 Cf. A107659, A107661. %K A107660 nonn,easy %O A107660 0,2 %A A107660 _Mitch Harris_