|
|
A294998
|
|
Numbers n such that the largest digit of n^3 is 8.
|
|
3
|
|
|
2, 12, 18, 20, 22, 24, 32, 35, 38, 42, 44, 47, 52, 53, 62, 72, 75, 82, 83, 87, 88, 92, 93, 94, 95, 96, 102, 104, 114, 115, 120, 122, 123, 127, 138, 141, 142, 145, 152, 153, 155, 161, 162, 172, 174, 180, 182, 183, 186, 192, 194, 195, 200, 201, 202, 203, 205, 206, 217, 220, 228, 232, 238, 240, 242, 244, 251
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For any term a(n), all numbers of the form a(n)*10^k, k >= 0, are in this sequence. We could call "primitive" the terms not of this form, i.e., without trailing '0'.
|
|
LINKS
|
|
|
EXAMPLE
|
12 is in the sequence because the largest digit of 12^3 = 1728 is 8.
|
|
MAPLE
|
filter:= n -> max(convert(n^3, base, 10))=8:
|
|
MATHEMATICA
|
Select[Range[300], Max[IntegerDigits[#^3]]==8&] (* Harvey P. Dale, Aug 21 2019 *)
|
|
PROG
|
(PARI) for(n=1, 500, vecmax(digits(n^3))==8&&print1(n", "))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|