login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034888 Number of digits in 3^n. 3
1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

FORMULA

a(n) = floor(n*ln(3)/ln(10)) + 1. E.g. a(10)=5 because 3^10=59049 and floor(10*ln(3)/ln(10)+1=4+1=5. - Jaap Spies (j.spies(AT)hccnet.nl), Dec 15 2003

MAPLE

seq(floor(n*ln(3)/ln(10))+1, n=0..100);

CROSSREFS

Sequence in context: A176814 A088461 A135020 * A086388 A080513 A111660

Adjacent sequences:  A034885 A034886 A034887 * A034889 A034890 A034891

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 07:44 EST 2012. Contains 205597 sequences.