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”).

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