OFFSET
0,1
LINKS
FORMULA
a(n) = a(n-1)*a(n-2)/a(n-3) = 27*a(n-2) = 3^A001651(n).
a(2n) = 3^(3n+1), a(2n+1) = 3^(3n+2).
MATHEMATICA
With[{nn=40}, Complement[3^Range[nn], 27^Range[Floor[nn/3]]]] (* or *) LinearRecurrence[{0, 27}, {3, 9}, 40] (* Harvey P. Dale, Jul 17 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Jun 20 2000
STATUS
approved