login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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:
select(filter, [$1..1000]); # Robert Israel, Jul 03 2020
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
Cf. A295023 (the corresponding cubes); A278937, A294664, A294665, A294996 .. A294999 (same for digit 3, ..., 9); A295008 (same for squares).
Cf. A000578 (the cubes).
Sequence in context: A063576 A144264 A277961 * A323762 A120350 A293851
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 13 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 18:22 EDT 2024. Contains 371750 sequences. (Running on oeis4.)