2,1
For n>=10 a(n) = 8.
The second term is 15, since it is the number 8 expressed in ternary base, so 1*3^1 + 5*3^0 = 8
Sequence in context: A164813 A164814 A038459 this_sequence A112023 A122988 A069536
Adjacent sequences: A072987 A072988 A072989 this_sequence A072991 A072992 A072993
base,easy,nonn
Vincenzo Vennarini (vennarini(AT)hotmail.com), Aug 21 2002
Search completed in 0.004 seconds