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!)
A158333 Position of number of digits increment in the sequence of powers of 3. 2
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 133, 135 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..64.

FORMULA

a(n)=1+Floor(n/Log_10(3)) = 1+A054965(n).

EXAMPLE

For n=1 a(1)=3 since the sequence of powers of 3 is 1, 3, 9, 27, 81, 243, 729 and numbers of digits increase at position 1,3,5,...

MAPLE

A158333 := proc(n)

        1+floor(n/log10(3)) ;

end proc:

seq(A158333(n), n=0..20) ; # R. J. Mathar, Sep 01 2014

MATHEMATICA

a[x_] := 1 + Floor[x/Log[10, 3]]; Table[a[i], {i, 0, 20}]

CROSSREFS

A123384

Sequence in context: A033037 A246413 A246411 * A293167 A062505 A230104

Adjacent sequences:  A158330 A158331 A158332 * A158334 A158335 A158336

KEYWORD

nonn,base

AUTHOR

Julio Cesar de la Yncera, Mar 16 2009

EXTENSIONS

Indices in offset, example, and formula adjusted by R. J. Mathar, May 21 2009

More terms from Robert G. Wilson v, May 29 2009

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 September 19 13:20 EDT 2021. Contains 347563 sequences. (Running on oeis4.)