login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000999 5-adic valuation of binomial(2*n,n): largest k such that 5^k divides binomial(2*n, n). 1
0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 3, 3, 2, 2, 2, 3, 3, 2, 2, 2, 3, 3, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,14
LINKS
E. E. Kummer, Über die Ergänzungssätze zu den allgemeinen Reciprocitätsgesetzen, Journal für die reine und angewandte Mathematik, Vol. 44 (1852), pp. 93-146; alternative link.
Dorel Miheţ, Legendre's and Kummer's theorems again, Resonance, Vol. 15, No. 12 (2010), pp. 1111-1121; alternative link.
Armin Straub, Victor H. Moll and Tewodros Amdeberhan, The p-adic valuation of k-central binomial coefficients, Acta Arithmetica, Vol. 140, No. 1 (2009), pp. 31-42.
Wikipedia, Kummer's theorem.
FORMULA
From Amiram Eldar, Feb 12 2021: (Start)
a(n) = A112765(A000984(n)).
a(n) = (2*A053824(n) - A053824(2*n))/4. (End)
MATHEMATICA
Table[IntegerExponent[Binomial[2*n, n], 5], {n, 0, 100}] (* T. D. Noe, Jun 21 2012 *)
PROG
(PARI) a(n)=if(n<0, 0, valuation(binomial(2*n, n), 5))
(PARI) a(n) = my(v=digits(n, 5), c=0); sum(i=0, #v-1, c=(c+v[#v-i]>=3)); \\ Kevin Ryde, Mar 07 2023
CROSSREFS
Sequence in context: A317756 A039998 A316089 * A175921 A303828 A025451
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Michael Somos, Jun 27 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 6 18:59 EDT 2024. Contains 372297 sequences. (Running on oeis4.)