|
Search: id:A000976
|
|
|
| A000976 |
|
Period of 1 / n! in base 10. |
|
+0 1
|
|
| 0, 0, 1, 1, 1, 1, 6, 6, 18, 18, 18, 54, 54, 378, 1134, 1134, 9072, 81648, 81648, 81648, 1714608, 18860688, 18860688, 56582064, 56582064, 735566832, 19860304464
(list; graph; listen)
|
|
|
OFFSET
|
1,7
|
|
|
FORMULA
|
a(n) = k where k is the smallest integer>=1 such that 10^k=1 mod n!/(2^A011371(n)*5^floor(n/5)) and A011371 is the highest power of 2 dividing n!. - C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 16 2004
|
|
MAPLE
|
with(numtheory): Digits:=100: A011371:= proc(n) options remember: if n=0 then RETURN(0) else RETURN(A011371(floor(n/2))+floor(n/2)) fi: end; A000976:= proc(n) RETURN(order(10, n!/(2^A011371(n)*5^floor(n/5)))): end; 0, 0, seq(A000976(n), n=3..24); (C. Ronaldo)
|
|
CROSSREFS
|
Sequence in context: A058563 A038518 A151724 this_sequence A161787 A092297 A073096
Adjacent sequences: A000973 A000974 A000975 this_sequence A000977 A000978 A000979
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Simon Plouffe (simon.plouffe(AT)gmail.com)
|
|
|
Search completed in 0.002 seconds
|