OFFSET
1,1
COMMENTS
Subset of A039286. - R. J. Mathar, Oct 20 2008
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
F:= proc(d) local S, i, j;
# to get all d-digit members
S:= select(t -> t[d]<>0, map(op@combinat:-permute, [seq(seq([0, 4, 1$i, 2$j, 3$(d-2-i-j)], j=0..d-2-i), i=0..d-2)]));
sort(map(t -> add(t[i]*5^(i-1), i=1..d), S))
end proc:
seq(op(F(d)), d=2..5); # Robert Israel, Aug 02 2020
MATHEMATICA
Select[Range[400], DigitCount[#, 5, 0]==DigitCount[#, 5, 4]==1&] (* Harvey P. Dale, Nov 10 2017 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved