|
|
A035130
|
|
Cubes when digits rotated right once remain cubic.
|
|
4
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Those resulting in leading zeros excluded.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
5^3 = 125 -> 512 = 8^3.
|
|
MATHEMATICA
|
Select[Range[10000]^3, IntegerQ[Surd[FromDigits[RotateRight[ IntegerDigits[#]]], 3]]&] (* Harvey P. Dale, May 25 2015 *)
|
|
PROG
|
(Magma) [k^3:k in [1..100000]| IsPower(Seqint((Intseq(Floor(k^3/10)) cat [Intseq(k^3)[1]])), 3)]; // Marius A. Burtea, Oct 08 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,hard
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|