OFFSET
1,1
COMMENTS
a(n) = n for n > 9.
LINKS
MATHEMATICA
LinearRecurrence[{2, -1}, {9, 6, 1, 2, 3, 4, 5, 8, 7, 10, 11}, 80] (* Harvey P. Dale, Apr 21 2025 *)
PROG
(PARI) a(n)=if(n>9, n, [9, 6, 1, 2, 3, 4, 5, 8, 7][n]) \\ Charles R Greathouse IV, Sep 02 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Sep 25 2002
EXTENSIONS
Extended by Ray Chandler, Feb 13 2005
STATUS
approved
