The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A033816 a(n) = 2*n^2 + 3*n + 3. 20
 3, 8, 17, 30, 47, 68, 93, 122, 155, 192, 233, 278, 327, 380, 437, 498, 563, 632, 705, 782, 863, 948, 1037, 1130, 1227, 1328, 1433, 1542, 1655, 1772, 1893, 2018, 2147, 2280, 2417, 2558, 2703, 2852, 3005, 3162, 3323, 3488, 3657, 3830, 4007, 4188, 4373, 4562 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS For n >= 1, (1,1) entry in 2n+1 X 2n+1 magic square built using the "north-east" technique. LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..1000 Guo-Niu Han, Enumeration of Standard Puzzles Guo-Niu Han, Enumeration of Standard Puzzles [Cached copy] Index entries for linear recurrences with constant coefficients, signature (3,-3,1). FORMULA From Colin Barker, Jun 27 2012: (Start) a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). G.f.: (3 - x + 2*x^2)/(1 - x)^3. (End) E.g.f.: (2*x^2 + 5*x + 3)*exp(x). - G. C. Greubel, Jul 15 2017 MATHEMATICA a[n_]:=2*n^2+3*n+3; ...and/or...Array[ -#*(1-#*2)+2&, 5!, 0] (* Vladimir Joseph Stephan Orlovsky, Dec 21 2008 *) CoefficientList[Series[(3-x+2*x^2)/(1-x)^3, {x, 0, 50}], x] (* Vincenzo Librandi, Jul 07 2012 *) LinearRecurrence[{3, -3, 1}, {3, 8, 17}, 50] (* Harvey P. Dale, May 07 2015 *) PROG (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 (PARI) a(n)=2*n^2+3*n+3 \\ Charles R Greathouse IV, Sep 24 2015 CROSSREFS Sequence in context: A073433 A059518 A024929 * A011889 A188426 A105163 Adjacent sequences:  A033813 A033814 A033815 * A033817 A033818 A033819 KEYWORD easy,nonn AUTHOR Olivier Gorin (gorin(AT)roazhon.inra.fr) EXTENSIONS More terms from James A. Sellers, Jun 20 2000 Offset corrected by Charles R Greathouse IV, Jul 25 2010 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 2 14:21 EDT 2020. Contains 334787 sequences. (Running on oeis4.)