# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a143838 Showing 1-1 of 1 %I A143838 #30 Sep 08 2022 08:45:38 %S A143838 1,22,75,160,277,426,607,820,1065,1342,1651,1992,2365,2770,3207,3676, %T A143838 4177,4710,5275,5872,6501,7162,7855,8580,9337,10126,10947,11800,12685, %U A143838 13602,14551,15532,16545,17590,18667,19776,20917,22090,23295,24532 %N A143838 Ulam's spiral (SSW spoke). %C A143838 Also sequence found by reading the segment (1, 22) together with the line from 22, in the direction 22, 75, ..., in the square spiral whose vertices are the generalized decagonal numbers A074377. - _Omar E. Pol_, Nov 05 2012 %H A143838 G. C. Greubel, Table of n, a(n) for n = 1..1000 %H A143838 Index entries for linear recurrences with constant coefficients, signature (3,-3,1). %F A143838 a(n) = 16*n^2 - 27*n + 12, n>0. - _R. J. Mathar_, Sep 04 2008 %F A143838 G.f.: x*(1 + 19*x + 12*x^2)/(1-x)^3. - _Colin Barker_, Aug 03 2012 %F A143838 E.g.f.: -12 + (12 - 11*x + 16*x^2)*exp(x). - _G. C. Greubel_, Nov 09 2019 %p A143838 seq( ((32*n-27)^2 +39)/64, n=1..50); # _G. C. Greubel_, Nov 09 2019 %t A143838 f[n_]:= 16n^2 -27n +12; Array[f, 40] (* _Vladimir Joseph Stephan Orlovsky_, Sep 02 2008 *) %t A143838 CoefficientList[Series[(1+19x+12x^2)/(1-x)^3, {x, 0, 40}], x] (* _Vincenzo Librandi_, Nov 08 2014 *) %t A143838 ((32*Range[50]-27)^2 +39)/64 (* _G. C. Greubel_, Nov 09 2019 *) %t A143838 LinearRecurrence[{3,-3,1},{1,22,75},40] (* _Harvey P. Dale_, Sep 26 2020 *) %o A143838 (Magma) [16*n^2-27*n+12: n in [1..50]]; // _Vincenzo Librandi_, Nov 08 2014 %o A143838 (PARI) vector(50, n, 16*n^2-27*n+12) \\ _Michel Marcus_, Nov 08 2014 %o A143838 (Sage) [((32*n-27)^2 +39)/64 for n in (1..50)] # _G. C. Greubel_, Nov 09 2019 %o A143838 (GAP) List([1..50], n-> ((32*n-27)^2 +39)/64); # _G. C. Greubel_, Nov 09 2019 %K A143838 nonn,easy %O A143838 1,2 %A A143838 _Vladimir Joseph Stephan Orlovsky_, Sep 02 2008 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE