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!)
A090620 Highest power of 13 dividing n!. 6
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,27
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000 (first 1001 terms from T. D. Noe)
FORMULA
a(n) = A090622(n, 13) = A090623(n, 13) = [n/13]+[n/169]+[n/2197]+...
a(n) = n/12 + O(log n). - Charles R Greathouse IV, Aug 06 2012
MAPLE
a:= proc(n) option remember; `if`(n=0, 0,
a(n-1)+padic[ordp](n, 13))
end:
seq(a(n), n=0..120); # Alois P. Heinz, Jun 20 2020
MATHEMATICA
IntegerExponent[Range[0, 110]!, 13] (* Harvey P. Dale, Aug 22 2011 *)
FoldList[Plus, 0, IntegerExponent[Range[100], 13]] (* T. D. Noe, Apr 10 2012 *)
PROG
(PARI) a(n)=my(t); while(n, t+=n\=13); t \\ Charles R Greathouse IV, Aug 06 2012
CROSSREFS
Sequence in context: A211663 A000195 A135663 * A151659 A057467 A074594
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Dec 06 2003
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 April 19 02:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)