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.

A226576 Smallest number of integer-sided squares needed to tile a 3 X n rectangle.

This page as a plain text file.
%I A226576 #32 Jan 25 2024 19:34:53
%S A226576 0,3,3,1,4,4,2,5,5,3,6,6,4,7,7,5,8,8,6,9,9,7,10,10,8,11,11,9,12,12,10,
%T A226576 13,13,11,14,14,12,15,15,13,16,16,14,17,17,15,18,18,16,19,19,17,20,20,
%U A226576 18,21,21,19,22,22,20,23,23,21,24,24,22,25,25,23,26
%N A226576 Smallest number of integer-sided squares needed to tile a 3 X n rectangle.
%H A226576 Alois P. Heinz, <a href="/A226576/b226576.txt">Table of n, a(n) for n = 0..1000</a>
%H A226576 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,1,-1).
%F A226576 G.f.: (3*x-2*x^3)/(1-x-x^3+x^4).
%F A226576 a(n) = 1 + a(n-3) for n>2; a(0)=0, a(1)=a(2)=3.
%F A226576 a(n) = (3*n+15+6*cos(2*(n-2)*Pi/3)-8*sqrt(3)*sin(2*(n-2)*Pi/3))/9. - _Wesley Ivan Hurt_, Oct 01 2017
%F A226576 a(n) = 3*floor((n+2)/3) - 2*floor(n/3). - _Ridouane Oudra_, Jan 25 2024
%e A226576 a(8) = 5:
%e A226576   ._._._._._._._._.
%e A226576   |     |     |   |
%e A226576   |     |     |___|
%e A226576   |_____|_____|_|_| .
%p A226576 a:= n-> iquo(n, 3, 'r') +[0, 3, 3][r+1]:
%p A226576 seq(a(n), n=0..80);
%t A226576 CoefficientList[Series[(3 x - 2 x^3)/(1 - x - x^3 + x^4), {x, 0, 70}], x] (* _Michael De Vlieger_, Oct 01 2017 *)
%o A226576 (PARI) concat(0, Vec((3*x-2*x^3)/(1-x-x^3+x^4) + O(x^50))) \\ _Felix Fröhlich_, Oct 02 2017
%Y A226576 Cf. row m=3 of A113881, A219158.
%K A226576 nonn,easy
%O A226576 0,2
%A A226576 _Alois P. Heinz_, Jun 12 2013