OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
ss5nQ[n_]:=Module[{len=IntegerLength[n]}, MemberQ[Partition[ IntegerDigits[ 5^n], len, 1], IntegerDigits[n]]]; Select[Range[400], ss5nQ] (* Harvey P. Dale, Jan 06 2013 *)
Select[Range[350], SequenceCount[IntegerDigits[5^#], IntegerDigits[#]]>0&] (* Harvey P. Dale, Dec 27 2024 *)
CROSSREFS
KEYWORD
nonn,base,easy,changed
AUTHOR
STATUS
approved