login
Number of common decimal digits of n! and (n+1)!.
1

%I #10 Jun 26 2021 14:27:08

%S 0,0,0,1,2,1,2,3,5,4,4,3,4,4,3,5,8,7,7,6,5,7,9,7,8,9,8,8,8,9,9,9,10,

%T 10,10,10,9,9,10,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,

%U 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10

%N Number of common decimal digits of n! and (n+1)!.

%H Diana Mecum, <a href="/A076492/b076492.txt">Table of n, a(n) for n = 1..1000</a>

%t Table[Length[Intersection[IntegerDigits[(n+1)!, InterDigits[n! ]]], {n, 1, 100}]

%t Length[Intersection[#[[1]],#[[2]]]]&/@Partition[IntegerDigits[ Range[ 90]!],2,1] (* _Harvey P. Dale_, Jun 26 2021 *)

%Y Cf. A006880, A076489-A076491.

%K base,nonn

%O 1,5

%A _Labos Elemer_, Oct 21 2002

%E More terms from _Diana L. Mecum_, Jun 17 2007