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!)
A322647 Number of times the digit 6 appears in the first 10^n decimal digits of sqrt(2), sometimes called Pythagoras's constant, counting after the decimal point. 10
1, 10, 90, 1032, 9939, 99886, 1001246, 10001665, 100012683, 1000007824 (list; graph; refs; listen; history; text; internal format)
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
Eric Weisstein's World of Mathematics, Pythagoras's Constant Digits.
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]="6" then C:=C+1; fi;
od;
return(C);
end;
MATHEMATICA
Table[DigitCount[IntegerPart[(Sqrt[2]-1)*10^10^n], 10, 6], {n, 1, 10}] (* Robert Price, Mar 29 2019 *)
Table[Count[RealDigits[Sqrt[2], 10, 10^n][[1]], 6], {n, 10}] (* Harvey P. Dale, Oct 02 2022 *)
CROSSREFS
Sequence in context: A172199 A063945 A218127 * A243106 A046706 A337867
KEYWORD
nonn,base,more
AUTHOR
Martin Renner, Dec 21 2018
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 19 07:24 EDT 2024. Contains 371782 sequences. (Running on oeis4.)