A113865 Number of digits of Bell number A000110(n).
1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 47, 48, 49, 50, 52, 53, 54, 55, 57, 58, 59, 60, 62, 63, 64, 66, 67, 68, 70, 71, 72, 74, 75, 76, 78
Offset: 0
Examples
a(0) = 1 because Bell(0) = 1, which has one digit. a(1) = 1 because Bell(1) = 1, which has one digit. a(2) = 1 because Bell(2) = 2, which has one digit. a(3) = 1 because Bell(3) = 5, which has one digit. a(4) = 2 because Bell(4) = 15, which has two digits.
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 0..10000
- John Sokol, The First 1000 Bell Numbers.
Programs
-
Maple
seq(length(bell(n)), n = 0 .. 73); # Zerinvary Lajos, Aug 07 2007
-
Python
from sympy import bell def A113865(n): return len(str(bell(n))) # Chai Wah Wu, Jun 22 2022
Formula
a(n) = ceiling(log_10 A000110(n)).
a(n) ~ nk log n with k = 1/log 10. More specifically, a(n) = (n log n + n log log n - n + n/W(n) + log n - 0.5 log W(n) - 1)/log 10 + o(1), where W is Lambert's W function W(x)*exp(W(x)) = x. [Charles R Greathouse IV, Aug 11 2011]
Comments