login
A294997
Numbers n such that the largest digit of n^3 is 7.
3
3, 14, 15, 23, 26, 30, 54, 55, 56, 63, 65, 67, 78, 91, 105, 111, 121, 126, 133, 135, 137, 140, 147, 150, 163, 167, 168, 173, 176, 188, 197, 226, 230, 245, 256, 258, 260, 273, 276, 291, 293, 295, 300, 318, 321, 343, 346, 375, 376, 385, 386, 397, 415, 417, 418, 424, 425, 488, 497
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'.
EXAMPLE
3 is in the sequence because the largest digit of 3^3 = 27 is 7.
MATHEMATICA
Select[Range[500], Max[IntegerDigits[#^3]]==7&] (* Harvey P. Dale, Sep 10 2019 *)
PROG
(PARI) for(n=1, 2e3, vecmax(digits(n^3))==7&&print1(n", "))
CROSSREFS
Cf. A295022 (the corresponding cubes); A278937, A294664, A294665, A294996 .. A294999 (same for digit 3, ..., 9).
Cf. A000578 (the cubes).
Sequence in context: A242868 A070418 A178363 * A354740 A034120 A303222
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 13 2017
STATUS
approved