OFFSET
1,2
COMMENTS
If n is in this sequence, then n*10^k also satisfies the first portion of the definition for all k >= 0.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
4832 is a term because 4832 squared = 23348224 which contains exactly the same digits as 4832.
MATHEMATICA
Select[Select[Range[200000], ContainsExactly[IntegerDigits[ #], IntegerDigits[ #^2]]&], !Divisible[#, 10]&]
PROG
(Python)
A258231_list = [n for n in range(10**6) if n % 10 and set(str(n)) == set(str(n**2))] # Chai Wah Wu, Apr 23 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Harvey P. Dale, Apr 23 2016
STATUS
approved