OFFSET
1,2
LINKS
FORMULA
A067109(a(n)) > 0. [Reinhard Zumkeller, Aug 23 2008]
MATHEMATICA
Select[Range[210], MemberQ[Partition[IntegerDigits[#!], IntegerLength[#], 1], IntegerDigits[ #]]&] (* Harvey P. Dale, Dec 25 2011 *)
Select[Range@500, StringContainsQ[ToString[#!], ToString[#]] &] (* Ivan N. Ianakiev, Jul 28 2016 *)
Select[Range[210], SequenceCount[IntegerDigits[#!], IntegerDigits[#]]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 14 2017 *)
PROG
(Haskell)
a033180 n = a033180_list !! (n-1)
a033180_list = filter ((> 0) . a067109) [1..]
-- Reinhard Zumkeller, Aug 28 2014
(Python)
from math import factorial
def ok(n): return str(n) in str(factorial(n))
print(list(filter(ok, range(206)))) # Michael S. Branicky, Aug 07 2021
CROSSREFS
KEYWORD
nonn,base,easy,nice
AUTHOR
EXTENSIONS
More terms from David W. Wilson
STATUS
approved