login
Final nonzero digit of n! in base 7.
15

%I #2 Mar 30 2012 18:55:32

%S 1,1,2,6,3,1,6,6,6,5,1,4,6,1,2,2,4,5,6,2,5,1,1,2,6,3,1,6,3,3,6,4,2,3,

%T 4,6,6,5,1,4,6,1,6,6,5,1,4,6,1,1,1,2,6,3,1,6,6,6,5,1,4,6,1,2,2,4,5,6,

%U 2,5,1,1,2,6,3,1,6,3,3,6,4,2,3,4,6,6,5,1,4,6,1,6,6,5,1,4,6,1,2,2

%N Final nonzero digit of n! in base 7.

%e 6! = 720 decimal = 2046 septimal, so a(6) = 6.

%Y Cf. A000142, A136690, A136691, A136692, A136693, A136695, A136696, A008904, A136697, A136698, A136699, A136700, A136701, A136702.

%K base,easy,nonn

%O 0,3

%A _Carl R. White_, Jan 16 2008