OFFSET
1,2
COMMENTS
A114752, (1, 2, 5, 4, 9, 6, ...) + A114753 - (1,1,1,...) = 3n+1: (1, 4, 7, 10, 13, ...). - Gary W. Adamson, Sep 16 2007
First column of table A210530. - Boris Putievskiy, Jan 29 2013
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,2,0,-1).
FORMULA
a(2n+1) = 2n+1, a(2n) = 4n-1.
a(n) = 2*a(n-2) - a(n-4). - Joerg Arndt, Apr 02 2011
Equals A133080 * [1,2,3,...]. - Gary W. Adamson, Sep 08 2007
G.f. x*(1+3*x+x^2+x^3) / ( (x-1)^2*(1+x)^2 ). - R. J. Mathar, Apr 04 2012
a(n) = (3*n-1-(n-1)*(-1)^(n-1))/2. - Boris Putievskiy, Jan 29 2013
MATHEMATICA
Table[If[OddQ[n], n, 2n-1], {n, 1, 120}] (* Vladimir Joseph Stephan Orlovsky, Apr 02 2011*)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Nov 15 2005
EXTENSIONS
More terms from Joshua Zucker, May 05 2006
STATUS
approved