|
|
A322650
|
|
Number of times the digit 9 appears in the first 10^n decimal digits of sqrt(2), sometimes called Pythagoras's constant, counting after the decimal point.
|
|
10
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
It is not known if sqrt(2) is normal, but the distribution of decimal digits found for the first 10^n digits of sqrt(2) shows no statistically significant departure from a uniform distribution.
|
|
LINKS
|
|
|
MAPLE
|
a:=proc(n)
local digits, SQRT2, C, i;
digits:=10^n+100;
SQRT2:=convert(frac(evalf[digits](sqrt(2))), string)[2..digits-99];
C:=0;
for i from 1 to length(SQRT2) do
if SQRT2[i]="9" then C:=C+1; fi;
od;
return(C);
end;
|
|
MATHEMATICA
|
Table[DigitCount[IntegerPart[(Sqrt[2]-1)*10^10^n], 10, 9], {n, 1, 10}] (* Robert Price, Mar 29 2019 *)
|
|
CROSSREFS
|
Cf. A002193, A099300, A322641, A322642, A322643, A322644, A322645, A322646, A322647, A322648, A322649.
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|