A294999 Numbers n such that the largest digit of n^3 is 9.
9, 13, 16, 17, 19, 21, 27, 28, 29, 31, 33, 34, 39, 41, 43, 45, 46, 48, 49, 57, 58, 59, 61, 66, 69, 71, 73, 76, 79, 84, 89, 90, 97, 98, 99, 103, 106, 108, 109, 112, 113, 116, 119, 124, 125, 128, 129, 130, 131, 132, 139, 143, 144, 148, 149, 151, 156, 157, 158, 159, 160, 164, 165, 166, 169
Offset: 1
Examples
13 is in the sequence because the largest digit of 13^3 = 2197 is 9.
Crossrefs
Programs
-
Mathematica
Select[Range[200],Max[IntegerDigits[#^3]]==9&] (* Harvey P. Dale, Jul 08 2018 *)
-
PARI
for(n=1,200, vecmax(digits(n^3))==9&&print1(n","))
Comments