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

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

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

%T 3,6,6,6,3,7,1,5,3,3,6,3,3,6,8,5,7,6,6,3,8,8,7,3,3,6,1,7,2,5,5,1,3,3,

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

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

%e 6! = 720 decimal = 880 nonary, so a(6) = 8.

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

%K base,easy,nonn

%O 0,3

%A _Carl R. White_, Jan 16 2008