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!)
A210434 Number of digits in 4^n. 7
1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, 18, 19, 19, 20, 20, 21, 22, 22, 23, 23, 24, 25, 25, 26, 26, 27, 28, 28, 29, 29, 30, 31, 31, 32, 32, 33, 34, 34, 35, 35, 36, 37, 37, 38, 38, 39, 40, 40, 41, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A055642(A000302(n)) = A055642(4^n) = floor(log_10(10*(4^n))). - Jonathan Vos Post, Mar 22 2012
EXAMPLE
a(4) = 3 because 4^4 = 256, which has 3 digits.
a(5) = 4 because 4^5 = 1024, which has 4 digits.
MAPLE
a:= n-> length(4^n): seq(a(n), n=0..100); # Alois P. Heinz, Mar 22 2012
MATHEMATICA
Table[Length[IntegerDigits[4^n]], {n, 0, 68}] (* Bruno Berselli, Mar 22 2012 *)
PROG
(Magma) [#Intseq(4^n): n in [0..68]]; // Bruno Berselli, Mar 22 2012
CROSSREFS
Sequence in context: A098295 A074840 A064542 * A256502 A177151 A076935
KEYWORD
nonn,base,easy
AUTHOR
Luc Comeau-Montasse, Mar 21 2012
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 April 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)