login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A020647
Least positive integer k for which 8^n divides k!.
1
1, 4, 8, 12, 16, 16, 20, 24, 28, 32, 32, 36, 40, 42, 46, 48, 52, 56, 58, 62, 64, 64, 68, 72, 76, 80, 80, 84, 88, 92, 96, 96, 100, 104, 106, 110, 112, 116, 120, 122, 126, 128, 128, 132, 136, 138, 142, 144, 148, 152, 154, 158, 160, 162, 166, 168, 172, 176, 178, 182, 184, 188
OFFSET
0,2
MATHEMATICA
lpi[n_]:=Module[{k=1, n8=8^n}, While[!Divisible[k!, n8], k++]; k]; Array[ lpi, 70, 0] (* Harvey P. Dale, Dec 08 2015 *)
CROSSREFS
Sequence in context: A242399 A081747 A331061 * A274919 A196032 A130702
KEYWORD
nonn
STATUS
approved