

A294665


Numbers n such that the largest digit of n^3 is 5.


6



5, 8, 50, 74, 80, 81, 107, 171, 177, 237, 351, 378, 468, 487, 500, 605, 684, 737, 740, 800, 810, 1064, 1070, 1271, 1311, 1365, 1474, 1605, 1645, 1710, 1724, 1758, 1770, 2247, 2364, 2370, 2474, 2485, 2824, 2885, 2925, 3247, 3510, 3780, 4680, 4718, 4870, 4934, 5000, 5247
(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. Primitive terms, i.e., not of this form (or equivalently: without trailing '0'), are 5, 8, 74, 81, 107, 171, 177, 237, 351, 378, 468, 487, 605, 684, 737, 1064, 1271, 1311, 1365, 1474, 1605, 1645, 1724, 1758, ...


LINKS

Table of n, a(n) for n=1..50.


EXAMPLE

8 is in the sequence because the largest digit of 8^3 = 512 is 5.


PROG

(PARI) for(n=1, 2e8, vecmax(digits(n^3))==5&&print1(n", "))


CROSSREFS

Cf. A295025 (the corresponding cubes), A278937 and A294664 (same for digit 3 and 4).
Cf. A000578 (the cubes).
Sequence in context: A275571 A192379 A117474 * A323139 A284381 A165716
Adjacent sequences: A294662 A294663 A294664 * A294666 A294667 A294668


KEYWORD

nonn,base


AUTHOR

M. F. Hasler, Nov 12 2017


STATUS

approved



