login
The OEIS is supported by the many generous donors to the OEIS 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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)