OFFSET
1,1
COMMENTS
Numbers k such that the highest power of 12 dividing n! is determined by the highest power of 3 dividing n!.
Note that A054861 and A090616 are both asymptotic to a(n) = n/2 + O(log(n)), nevertheless, it seems that the number of k such that A090616(k) is bigger predominates. Conjecture: the ratio of k <= N such that A090616(k) >A054861(k) tends to 1 as N tends to infinity, while the ratio of k <= N such thatA090616(k) < A054861(k) and A090616(k) = A054861(k) both tend to 0.
10^2 38 26 37
10^3 344 228 429
10^4 2703 2227 5071
10^5 23003 19892 57106
10^6 203478 185152 611371
10^7 1762288 1726062 6511651
LINKS
Jianing Song, Table of n, a(n) for n = 1..5071 (all terms <= 10000)
EXAMPLE
The highest power of 3 dividing 8! is 3^2, while the highest power of 4 dividing 8! is 4^3, so 8 is a term, and the highest power of 12 dividing 8! is 12^2.
The highest power of 3 dividing 16! is 3^6, while the highest power of 4 dividing 16! is 4^7, so 16 is a term, and the highest power of 12 dividing 16! is 12^6.
PROG
(PARI) isA319317(n)=(n-vecsum(digits(n, 2)))\2>(n-vecsum(digits(n, 3)))\2
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Sep 17 2018
STATUS
approved