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 A299916 #26 Sep 08 2022 08:46:20 %S A299916 1,6,42,306,2250,16578,122202,900882,6641514,48963042,360969210, %T A299916 2661166386,19618866954,144635805954,1066295850138,7861032979794, %U A299916 57953746616490,427251323790882,3149816954720058,23221336706989938,171194226906268746,1262092001672539458 %N A299916 a(n) = A299914(2n+1). %C A299916 a(n) is the number of holes shaped like six-pointed stars, in descending size, found in the cross-section, in the shape of a regular hexagon, of a Menger Sponge. - _Albert Säfström_, Jul 25 2018 %D A299916 Murat Sahin and Elif Tan, Conditional (strong) divisibility sequences, Fib. Q., 56 (No. 1, 2018), 18-31. %H A299916 Vincenzo Librandi, <a href="/A299916/b299916.txt">Table of n, a(n) for n = 0..200</a> %H A299916 Albert Säfström, <a href="/A299916/a299916.png">Illustration of regular hexagonal cross-section of Menger Sponge, with supporting triangular shape</a> %H A299916 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (9,-12) %F A299916 G.f.: -(3*x-1)/(12*x^2-9*x+1). - _Alois P. Heinz_, Mar 10 2018 %F A299916 From _Colin Barker_, Mar 12 2018: (Start) %F A299916 a(n) = 2^(-1-n)*((9-sqrt(33))^n*(-3+sqrt(33)) + (3+sqrt(33))*(9+sqrt(33))^n) / sqrt(33). %F A299916 a(n) = 9*a(n-1) - 12*a(n-2) for n>1. %F A299916 (End) %p A299916 a:= n-> (<<0|1>, <-12|9>>^n. <<1, 6>>)[1, 1]: %p A299916 seq(a(n), n=0..25); # _Alois P. Heinz_, Mar 10 2018 %t A299916 CoefficientList[Series[-(3 x - 1)/(12 x^2 - 9 x + 1), {x, 0, 20}], x] (* _Michael De Vlieger_, Mar 10 2018 *) %t A299916 LinearRecurrence[{9, -12}, {1, 6}, 30] (* _Vincenzo Librandi_, Mar 11 2018 *) %o A299916 (Magma) I:=[1,6]; [n le 2 select I[n] else 9*Self(n-1)-12*Self(n-2): n in [1..30]]; // _Vincenzo Librandi_, Mar 11 2018 %o A299916 (PARI) Vec((1 - 3*x) / (1 - 9*x + 12*x^2) + O(x^30)) \\ _Colin Barker_, Mar 12 2018 %Y A299916 Cf. A299914. %K A299916 nonn,easy %O A299916 0,2 %A A299916 _N. J. A. Sloane_, Mar 10 2018 %E A299916 More terms from _Altug Alkan_, Mar 10 2018