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 A033816 #45 Jul 02 2025 16:01:56 %S A033816 3,8,17,30,47,68,93,122,155,192,233,278,327,380,437,498,563,632,705, %T A033816 782,863,948,1037,1130,1227,1328,1433,1542,1655,1772,1893,2018,2147, %U A033816 2280,2417,2558,2703,2852,3005,3162,3323,3488,3657,3830,4007,4188,4373,4562 %N A033816 a(n) = 2*n^2 + 3*n + 3. %C A033816 For n >= 1, a(n) is the (1,1)-th entry in a (2*n+1) X (2*n+1) magic square built using the "north-east" technique. [Most probably the author is referring to the "Siamese method" described in the Wikipedia article. - _Petros Hadjicostas_, Jul 26 2020~] %H A033816 Vincenzo Librandi, <a href="/A033816/b033816.txt">Table of n, a(n) for n = 0..1000</a> %H A033816 Guo-Niu Han, <a href="/A196265/a196265.pdf">Enumeration of Standard Puzzles</a>, 2011. [Cached copy] %H A033816 Guo-Niu Han, <a href="https://arxiv.org/abs/2006.14070">Enumeration of Standard Puzzles</a>, arXiv:2006.14070 [math.CO], 2020. %H A033816 Wikipedia, <a href="https://en.wikipedia.org/wiki/Siamese_method">Siamese method</a>. %H A033816 <a href="/index/Mag#magic">Index entries for sequences related to magic squares</a> %H A033816 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1). %F A033816 From _Colin Barker_, Jun 27 2012: (Start) %F A033816 a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). %F A033816 G.f.: (3 - x + 2*x^2)/(1 - x)^3. (End) %F A033816 E.g.f.: (2*x^2 + 5*x + 3)*exp(x). - _G. C. Greubel_, Jul 15 2017 %t A033816 a[n_]:=2*n^2+3*n+3;...and/or...Array[ -#*(1-#*2)+2&,5!,0] (* _Vladimir Joseph Stephan Orlovsky_, Dec 21 2008 *) %t A033816 CoefficientList[Series[(3-x+2*x^2)/(1-x)^3,{x,0,50}],x] (* _Vincenzo Librandi_, Jul 07 2012 *) %t A033816 LinearRecurrence[{3,-3,1},{3,8,17},50] (* _Harvey P. Dale_, May 07 2015 *) %o A033816 (Magma) I:=[3, 8, 17]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..50]]; // _Vincenzo Librandi_, Jul 07 2012 %o A033816 (PARI) a(n)=2*n^2+3*n+3 \\ _Charles R Greathouse IV_, Sep 24 2015 %K A033816 easy,nonn %O A033816 0,1 %A A033816 Olivier Gorin (gorin(AT)roazhon.inra.fr) %E A033816 More terms from _James Sellers_, Jun 20 2000 %E A033816 Offset corrected by _Charles R Greathouse IV_, Jul 25 2010