cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

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

Original entry on oeis.org

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

Views

Author

M. F. Hasler, Nov 13 2017

Keywords

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'.

Examples

			13 is in the sequence because the largest digit of 13^3 = 2197 is 9.
		

Crossrefs

Cf. A295024 (the corresponding cubes); A278937, A294664, A294665, A294996, A294997, A294998 (same for digit 3, ..., 8).
Cf. A000578 (the cubes).

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","))

A295023 Cubes whose largest digit is 8.

Original entry on oeis.org

8, 1728, 5832, 8000, 10648, 13824, 32768, 42875, 54872, 74088, 85184, 103823, 140608, 148877, 238328, 373248, 421875, 551368, 571787, 658503, 681472, 778688, 804357, 830584, 857375, 884736, 1061208, 1124864, 1481544, 1520875, 1728000, 1815848, 1860867, 2048383, 2628072, 2803221
Offset: 1

Views

Author

M. F. Hasler, Nov 13 2017

Keywords

Comments

For any term a(n), all numbers of the form a(n)*10^3k, k >= 0, are in this sequence. We could call "primitive" the terms not of this form, i.e., those without trailing '0'.

Examples

			8 is in the sequence because it is a cube, 8 = 2^3, and its largest digit is 8.
		

Crossrefs

Cf. A294998 (the corresponding cube roots), A278936, A294663, A295025, A295021, A295022, A295024 (same for digit 3 .. 9), A295018 (same for squares).
Cf. A000578 (the cubes).

Programs

  • PARI
    for(n=1,200, vecmax(digits(n^3))==8 &&print1(n^3,","))

Formula

a(n) = A294998(n)^3.
Showing 1-2 of 2 results.