login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134026 Numbers that are in balanced ternary representation longer than in ternary representation. 6
2, 5, 6, 7, 8, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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]

LINKS

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

FORMULA

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).

CROSSREFS

Sequence in context: A283974 A028739 A074291 * A220655 A246263 A191205

Adjacent sequences:  A134023 A134024 A134025 * A134027 A134028 A134029

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, Oct 19 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 14 10:01 EDT 2021. Contains 342948 sequences. (Running on oeis4.)