OFFSET
0,2
COMMENTS
The orbit of a(n) beginning at 1 is A138894.
REFERENCES
M. Chamberland, A Continuous Extension of the 3x+1 Problem to the Real Line, Dynamics of Continuous, Discrete and Impulsive Dynamical Systems 2(1996), 495-509
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-3,4,-3,2,-1).
FORMULA
G.f.: x(11+14x-10x^2+14x^3+7x^4)/((1-x)^2(1+x^2)^2);
a(n)=9n+2-(7n+2)cos(pi*n/2);
a(n)=6((n/3)*(cos(pi*n/4))^2+(2/3)*(4n+1)*(sin(pi*n/4))^2);
a(4n)=8n; a(4n+1)=11+36n; a(4n+2)=4*(9+16n); a(4n+3)=29+36n;
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 02 2008
STATUS
approved