2,1

For n>=10 a(n) = 8.

Table of n, a(n) for n=2..15.

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 * A112023 A122988 A069536

Adjacent sequences: A072987 A072988 A072989 * A072991 A072992 A072993

base,easy,nonn

Vincenzo Vennarini (vennarini(AT)hotmail.com), Aug 21 2002

approved