OFFSET
1,1
COMMENTS
The first term having a repeated digit is 10609.
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A054032(n)^2.
EXAMPLE
5329 is in the sequence because 5329 = 73^2 and 5329 contains exactly four different digits: 2, 3, 5 and 9.
MATHEMATICA
Select[Range[150]^2, Length[Union[IntegerDigits[#]]]==4&] (* Harvey P. Dale, May 03 2018 *)
PROG
(PARI) s=[]; for(n=1, 300, if(#vecsort(eval(Vec(Str(n^2))), , 8)==4, s=concat(s, n^2))); s
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 15 2014
STATUS
approved