

A254130


Numbers whose factorials are exclusionary: numbers n such that n and n! have no digits in common.


0




OFFSET

1,2


COMMENTS

Conjecture: The sequence is finite, with 16 being the last term.
If A182049 is finite, then this sequence is finite. If 41 is the largest term in A182049 (as is conjectured), then 16 is the largest term of this sequence.  M. F. Hasler, May 04 2015


LINKS

Table of n, a(n) for n=1..9.


EXAMPLE

13! = 6227020800. 13 and 6227020800 have no digits in common, so 13 is a term of the sequence.


MATHEMATICA

Select[Range[0, 16], DisjointQ[IntegerDigits[#], IntegerDigits[#!]]&] (* Ivan N. Ianakiev, May 04 2015 *)


PROG

(PARI) is(n)=#setintersect(Set(digits(n)), Set(digits(n!)))==0


CROSSREFS

Cf. A000142, A112736, A112994, A111116.
Sequence in context: A288224 A039063 A266114 * A114978 A138891 A163162
Adjacent sequences: A254127 A254128 A254129 * A254131 A254132 A254133


KEYWORD

nonn,base,fini


AUTHOR

Felix FrÃ¶hlich, May 03 2015


STATUS

approved



