login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161860 Squares which are anagrams of cubes 1
1, 64, 729, 1296, 2916, 4096, 7921, 9216, 9604, 13689, 15129, 15625, 25921, 46656, 66564, 117649, 119025, 125316, 147456, 159201, 237169, 257049, 260100, 262144, 292681, 300304, 338724, 447561, 497025, 531441, 546121, 611524, 687241, 725904 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

13689 is in the list because is a square (117 x 117) and 19683 (an anagram of 13689) is a cube (27^3)

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..388 (* All terms up to 10^8 *)

MATHEMATICA

sacQ[n_]:=Module[{len=IntegerLength[n], trms=FromDigits/@Permutations[ IntegerDigits[ n]]}, trms=Select[ trms, IntegerLength[#]==len&]; AnyTrue[ trms, IntegerQ[Surd[#, 3]]&]]; Select[Range[900]^2, sacQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 03 2019 *)

CROSSREFS

Sequence in context: A074471 A164345 A164337 * A195249 A223953 A224137

Adjacent sequences:  A161857 A161858 A161859 * A161861 A161862 A161863

KEYWORD

nonn,base

AUTHOR

Claudio Meller, Jun 20 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 14 17:43 EDT 2019. Contains 328022 sequences. (Running on oeis4.)