login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A277966
Numbers whose largest decimal digit is 4.
9
4, 14, 24, 34, 40, 41, 42, 43, 44, 104, 114, 124, 134, 140, 141, 142, 143, 144, 204, 214, 224, 234, 240, 241, 242, 243, 244, 304, 314, 324, 334, 340, 341, 342, 343, 344, 400, 401, 402, 403, 404, 410, 411, 412, 413, 414, 420, 421, 422, 423, 424, 430, 431, 432
OFFSET
1,1
COMMENTS
Number of terms less than 10^n is 5^n-4^n. - Chai Wah Wu, Nov 06 2016
LINKS
MATHEMATICA
A277966Q = Max[IntegerDigits[#]] == 4 &; Select[Range[500], A277966Q] (* JungHwan Min, Nov 06 2016 *)
Select[Range[500], Max[IntegerDigits[#]]==4&] (* Harvey P. Dale, May 05 2019 *)
PROG
(PARI) L=List(); for(n=1, 10000, if(vecmax(digits(n))==4, listput(L, n))); Vec(L)
(GAP) Filtered([1..450], n->Maximum(ListOfDigits(n))=4); # Muniru A Asiru, Mar 01 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Nov 06 2016
STATUS
approved