|
|
A283611
|
|
Numbers whose largest decimal digit is 8.
|
|
5
|
|
|
8, 18, 28, 38, 48, 58, 68, 78, 80, 81, 82, 83, 84, 85, 86, 87, 88, 108, 118, 128, 138, 148, 158, 168, 178, 180, 181, 182, 183, 184, 185, 186, 187, 188, 208, 218, 228, 238, 248, 258, 268, 278, 280, 281, 282, 283, 284, 285, 286, 287, 288, 308, 318, 328, 338, 348
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Numbers n such that A054055(n) = 8.
Number of terms less than 10^n is 9^n - 8^n.
|
|
LINKS
|
|
|
MAPLE
|
f:= proc(n) local L;
L:= convert(n, base, 9);
if not has(L, 8) then return NULL fi;
add(L[i]*10^(i-1), i=1..nops(L))
end proc:
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [n: n in [1..100000] | Maximum(Setseq(Set(Sort(&cat[Intseq(n)])))) eq 8]
(PARI) isok(n) = vecmax(digits(n)) == 8; \\ Michel Marcus, Mar 25 2017
(GAP) Filtered([1..400], n->Maximum(ListOfDigits(n))=8); # Muniru A Asiru, Mar 01 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|