[go: up one dir, main page]

login
A047894
Number of digits of A000182(n).
2
1, 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 19, 21, 23, 26, 28, 31, 34, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 76, 79, 82, 85, 89, 92, 95, 99, 102, 105, 109, 112, 116, 119, 123, 126, 130, 134, 137, 141, 144, 148, 152, 155, 159, 163, 167, 170, 174, 178, 182, 185
OFFSET
1,3
REFERENCES
J. Peters and J. Stein, Mathematische Tafeln. Revised Russian Edition, 1968, Moscow.
FORMULA
a(n) = floor(log_10(A000182(n))) + 1. - Franklin T. Adams-Watters, Mar 29 2014
a(n) = A055642(A000182(n)). - Michel Marcus, Apr 15 2023
EXAMPLE
a(7) = 8 since the 7th tangential number is 22368256, which has 8 decimal digits.
PROG
(Python)
from sympy import bernoulli
def A047894(n): return len(str(abs(((2-(2<<(m:=n<<1)))*bernoulli(m)<<m-2)//n))) # Chai Wah Wu, Apr 14 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
a(1) corrected by Chai Wah Wu, Apr 14 2023
STATUS
approved