A061820 Multiples of 4 containing only digits 0,...,4.
0, 4, 12, 20, 24, 32, 40, 44, 100, 104, 112, 120, 124, 132, 140, 144, 200, 204, 212, 220, 224, 232, 240, 244, 300, 304, 312, 320, 324, 332, 340, 344, 400, 404, 412, 420, 424, 432, 440, 444, 1000, 1004, 1012, 1020, 1024, 1032, 1040, 1044, 1100, 1104, 1112
Offset: 0
Examples
140 is a term containing digits less than 5.
Programs
-
Mathematica
Select[4Range[0,400],Max[IntegerDigits[#]]<5&] (* Harvey P. Dale, Dec 20 2012 *)
Extensions
More terms from Larry Reeves (larryr(AT)acm.org), May 30 2001