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!)
A101429 Sum of digits of (2^(10^n)). 0
2, 7, 115, 1366, 13561, 135178, 1351546, 13546438, 135481777, 1354575715 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n)= sum_{m=0..floor(log(2^(10^n)))} floor(10*((2^(10^n))/(10^(((floor(log(2^(10^n)))+1))-m)) - floor ((2^(10^n))/(10^(((floor(log(2^(10^n)))+1))-m))))))
Limit a(n)/10^n, as n -> inf., is 1.35463...=4.5*log(2). For large m, mean value of digits of 2^m is 4.5, according to the uniform probability distribution of digits 0..9 in 2^m. Also, number of decimal digits in 2^m is log(2)*m, hence the formula for limit a(n)/10^n. - Zak Seidov
EXAMPLE
a(4)=sum(m=0,floor(log(2^(10^4))),floor(10*((2^(10^4))/(10^(((floor(log(2^(10^4)))+1))-m)) - floor ((2^(10^4))/(10^(((floor(log(2^(10^4)))+1))-m))))))=13561.
MATHEMATICA
f[n_] := Plus @@ IntegerDigits[2^(10^n)]; Table[ f[n], {n, 0, 7}] (* Robert G. Wilson v, Nov 05 2004 *)
f[n_] := Plus @@ IntegerDigits[2^(10^n)]; Table[ f[n], {n, 0, 7}] (* Robert G. Wilson v, Nov 05 2004 *) (* Or *)
g[n_] := Sum[ Floor[10*((2^(10^n))/(10^(((Floor[ Log[10, 2^(10^n)]] + 1)) - m)) - Floor[(2^(10^n))/(10^(((Floor[ Log[10, 2^(10^n)]] + 1)) - m))])], {m, 0, Floor[ Log[10, 2^(10^n)]]}]; Table[ g[n], {n, 0, 6}]
CROSSREFS
Sequence in context: A326940 A326964 A034902 * A270749 A206151 A070521
KEYWORD
nonn,base
AUTHOR
Yalcin Aktar, Nov 05 2004
EXTENSIONS
a(5)-a(7) from Robert G. Wilson v, Nov 05 2004
a(8) and a(9) from Zak Seidov, Nov 23 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 April 16 12:52 EDT 2024. Contains 371711 sequences. (Running on oeis4.)