login
Final nonzero digit of n! in base 14.
14

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

%S 1,1,2,6,10,8,6,10,10,6,4,2,10,4,4,4,8,10,12,4,10,8,8,2,6,10,8,6,12,

%T 12,10,2,8,12,2,12,12,10,2,8,12,2,6,6,12,8,4,6,8,2,2,4,12,6,2,12,6,6,

%U 12,8,4,6,8,8,8,2,6,10,8,6,2,2,4,12,6,2,12,10,10,6,4,2,10,4,10,10,6,4,2,10,4

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

%e 6! = 720 decimal = 396 quatridecimal, so a(6) = 6.

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

%K base,easy,nonn

%O 0,3

%A _Carl R. White_, Jan 16 2008