A098942 Numbers where 4 is the only even decimal digit.
4, 14, 34, 41, 43, 44, 45, 47, 49, 54, 74, 94, 114, 134, 141, 143, 144, 145, 147, 149, 154, 174, 194, 314, 334, 341, 343, 344, 345, 347, 349, 354, 374, 394, 411, 413, 414, 415, 417, 419, 431, 433, 434, 435, 437, 439, 441, 443, 444, 445, 447, 449, 451, 453, 454
Offset: 1
Programs
-
Perl
for (0..1000) { print "$_, " if (/^[134579]*4[134579]*$/) } # Charles R Greathouse IV, Oct 05 2011
Comments