|
|
A035128
|
|
Rotating digits of a(n)^3 right once still yields a cube.
|
|
3
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Cubes resulting in leading zeros excluded.
|
|
LINKS
|
|
|
EXAMPLE
|
379^3 = 54439939 -> 95443993 = 457^3.
|
|
MATHEMATICA
|
Select[Range[500], IntegerQ @ Surd[FromDigits @ RotateRight @ IntegerDigits[#^3], 3] &] (* Amiram Eldar, Oct 08 2019 *)
|
|
PROG
|
(Magma) [k: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
|
|
|
|