OFFSET
1,2
COMMENTS
Central terms of A170950, seen as a triangle of rows with an odd number of terms.
Equivalently, numbers of the form m*(4*m+3)+1, where m = 0, -1, 1, -2, 2, -3, 3, ... . - Bruno Berselli, Jan 05 2016
Conjecture: the sequence terms are the exponents in the expansion of Sum_{n >= 1} q^n * (Product_{k >= 2*n} 1 - q^k) = q + q^2 + q^8 + q^11 + q^23 + q^28 + .... Cf. A266883. - Peter Bala, May 10 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
FORMULA
a(n+3) - a(n+2) - a(n+1) + a(n) = A010696(n+1).
a(n) = A193868(n)/2. - Omar E. Pol, Aug 16 2011
G.f.: -x*(1+x+4*x^2+x^3+x^4) / ( (1+x)^2*(x-1)^3 ). - R. J. Mathar, Aug 18 2011
E.g.f.: ((2 + x + 2*x^2)*cosh(x) + (1 - x + 2*x^2)*sinh(x) - 2)/2. - Stefano Spezia, Nov 16 2024
Sum_{n>=1} 1/a(n) = 4*Pi*sinh(sqrt(7)*Pi/4)/(sqrt(7)*(sqrt(2) + 2*cosh(sqrt(7)*Pi/4))). - Amiram Eldar, May 12 2025
MATHEMATICA
Select[Table[(n (n + 1)/2 + 1)/2, {n, 120}], IntegerQ] (* Vladimir Joseph Stephan Orlovsky, Feb 06 2012 *)
(* Alternative: Version 10.4 *)
(Select[PolygonalNumber@ Range@ 120, OddQ] + 1 )/2 (* Michael De Vlieger, Jun 30 2016 *)
(* Alternative: *)
Rest@ CoefficientList[Series[-x (1 + x + 4 x^2 + x^3 + x^4)/((1 + x)^2 (x - 1)^3), {x, 0, 60}], x] (* Michael De Vlieger, Jun 30 2016 *)
PROG
(PARI) a(n)=(2*n-1)*(2*n-1-(-1)^n)\4+1 \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Mar 08 2010
EXTENSIONS
New name from Omar E. Pol, Aug 16 2011
STATUS
approved
