OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..2000
MATHEMATICA
Flatten[Table[FromDigits[#, 6]&/@Tuples[{2, 3}, n], {n, 5}]] (* Vincenzo Librandi, May 26 2012 *)
PROG
(Magma) [n: n in [1..8000] | Set(IntegerToSequence(n, 6)) subset {2, 3}]; // Vincenzo Librandi, May 26 2012
(Magma) [n eq 1 select 2 else IsOdd(n) select 6*Self(Floor(n/2))+2 else Self(n-1)+1: n in [1..45]]; // Bruno Berselli, May 27 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved