Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
Table of n, a(n) for n=1..39.
Select[Range, DigitCount[#, 5, 0]==DigitCount[#, 5, 4]+3&] (* Harvey P. Dale, Jul 23 2012 *)
Sequence in context: A023724 A084647 * A045214 A045199 A260604 A023079
Adjacent sequences: A031470 A031471 A031472 * A031474 A031475 A031476