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!)
 A153126 Sums of rows of the triangle in A153125. 6
 1, 6, 18, 33, 55, 80, 112, 147, 189, 234, 286, 341, 403, 468, 540, 615, 697, 782, 874, 969, 1071, 1176, 1288, 1403, 1525, 1650, 1782, 1917, 2059, 2204, 2356, 2511, 2673, 2838, 3010, 3185, 3367, 3552, 3744, 3939, 4141, 4346, 4558, 4773, 4995, 5220, 5452 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Sequence found by reading the line from 1, in the direction 1, 6,..., and the same line from 1, in the direction 1, 18,..., in the square spiral whose edges have length A195013 and whose vertices are the numbers A195014. Line perpendicular to the main axis A195015 in the same spiral. - Omar E. Pol, Oct 14 2011 LINKS Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1). FORMULA a(n) = n*(5*n+7)/2 + 1 - n Mod 2. a(n) = Sum(A153125(n+1,k): 1<=k<=n+1). a(2*n) = A033571(n); a(2*n+1) = A153127(n). a(n) = A000566(n+1) - n mod 2. a(n) = 2*a(n-1)-2*a(n-3)+a(n-4). G.f.: (1+4*x+6*x^2-x^3)/((1-x)^3*(1+x)). - Colin Barker, Jul 07 2012 MATHEMATICA LinearRecurrence[{2, 0, -2, 1}, {1, 6, 18, 33}, 50] (* Harvey P. Dale, Apr 13 2014 *) PROG (PARI) a(n)=n*(5*n+7)/2 + 1 - n%2 \\ Charles R Greathouse IV, Oct 07 2015 CROSSREFS Sequence in context: A280802 A124353 A232336 * A110671 A134078 A323148 Adjacent sequences:  A153123 A153124 A153125 * A153127 A153128 A153129 KEYWORD nonn,easy AUTHOR Reinhard Zumkeller, Dec 20 2008 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 January 26 05:10 EST 2020. Contains 331273 sequences. (Running on oeis4.)