1,1

A134021(a(n)) = A081604(a(n)) + 1;

complement of A134025.

A157671 is a subsequence; A171960(a(n)) < a(n). [From Reinhard Zumkeller, Jan 20 2010]

Table of n, a(n) for n=1..68.

a(n) = g(n,0,0) with g(n,m,k) = if n=0 then k else if k=3^m-1 then g(n-1,m,3*(k+1)/2+1) else g(n-1,m,k+1).

Sequence in context: A283974 A028739 A074291 * A220655 A246263 A191205

Adjacent sequences: A134023 A134024 A134025 * A134027 A134028 A134029

nonn,base

Reinhard Zumkeller, Oct 19 2007

approved