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 A281228 #7 Jan 19 2017 06:03:23 %S A281228 0,1,2,1,0,2,2,0,0,1,0,0,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0, %T A281228 0,0,0,0,0,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0, %U A281228 0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 %N A281228 Expansion of (Sum_{k>=0} x^(3^k))^2 [even terms only]. %C A281228 Number of ways to write 2n as an ordered sum of two powers of 3. %C A281228 First bisection of self-convolution of characteristic function of powers of 3. %H A281228 <a href="/index/Com#comp">Index entries for sequences related to compositions</a> %F A281228 G.f.: (Sum_{k>=0} x^(3^k))^2 [even terms only]. %e A281228 G.f. = x^2 + 2*x^4 + x^6 + 2*x^10 + 2*x^12 + x^18 + 2*x^28 + 2*x^30 + 2*x^36 + ... %e A281228 a(2) = 2 because we have [3, 1] and [1, 3]. %t A281228 Take[CoefficientList[Series[Sum[x^3^k, {k, 0, 15}]^2, {x, 0, 260}], x], {1, -1, 2}] %Y A281228 Cf. A000244, A055235, A073267, A078932. %K A281228 nonn %O A281228 0,3 %A A281228 _Ilya Gutkovskiy_, Jan 18 2017