OFFSET
0,2
COMMENTS
A permutation of the nonnegative integers.
LINKS
G. Venturini, Iterates of number-theoretic functions with periodic rational coefficients (Generalization of the 3x+1 problem), Stud. Appl. Math., Vol. 86 (1992), pp. 185-218.
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,-1).
FORMULA
a(9*n)=4*n, a(9*n+1)=8*n+2, a(9*n+2)=16*n+3, a(9*n+3)=8*n+1, a(9*n+4)=16*n+11, a(9*n+5)=16*n+5, a(9*n+6)=8*n+7, a(9*n+7)=16*n+13, a(9*n+8)=8*n+6. - Philippe Deléham, Nov 14 2023
From Elmo R. Oliveira, May 15 2026: (Start)
a(n) = 2*a(n-9) - a(n-18).
G.f.: x*(2 + 3*x + x^2 + 11*x^3 + 5*x^4 + 7*x^5 + 13*x^6 + 6*x^7 + 4*x^8 + 6*x^9 + 13*x^10 + 7*x^11 + 5*x^12 + 11*x^13 + x^14 + 3*x^15 + 2*x^16) / ((x - 1)^2 * (1 + x + x^2)^2 * (1 + x^3 + x^6)^2). (End)
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 23 2002
EXTENSIONS
More terms from Lambert Klasen (lambert.klasen(AT)gmx.de), Jan 02 2005
STATUS
approved
