OFFSET
1,1
COMMENTS
This number is likely to be normal in base 2 but certainly not normal in base 3, where it has only digits 0 and 1.
LINKS
Wikipedia, Normal number, retrieved July 17, 2024
FORMULA
4.03841723862712010342364922592921866745315784013953355342337019359450160810479...
EXAMPLE
Pi = 3.14159...[10] = 11.001001000011111101...[2] (i.e., in base 2, cf. A004601), which, considered as the base-3 expansion of a constant c = 3 + 1 + 1/3^3 + 1/3^6 + ... = 4.0384...[10]
PROG
(PARI) localprec(10+ N=99); d = concat(binary(Pi)); c = sum(k=1, #d, d[k]*3^(2-k), .); digits(c*10^N\1) /* if you use localprec() make sure all code is in the same scope */
CROSSREFS
KEYWORD
AUTHOR
M. F. Hasler, Jul 17 2024
STATUS
approved