login
A230404
a(n) = the largest k such that (k+1)! divides 2n; the number of trailing zeros in the factorial base representation of even numbers.
4
1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1
OFFSET
1,3
LINKS
FORMULA
a(n) = A230403(2n) = A055881(2n) - 1.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 2*e - 4 = A019762 - 4 = 1.436563... . - Amiram Eldar, Jan 05 2024
PROG
(Scheme)
(define (A230404 n) (A230403 (* 2 n)))
CROSSREFS
Used to compute A230405 and A219650. See A007623 for factorial base representation.
Analogous sequence for binary system: A001511.
Cf. A019762.
Sequence in context: A330556 A341674 A363922 * A082647 A367627 A214018
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Oct 31 2013
STATUS
approved