OFFSET
1,1
COMMENTS
The first term having a repeated digit is 1156.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..12299 (terms < 10^36, first 600 terms from Colin Barker)
FORMULA
a(n) = A054031(n)^2.
EXAMPLE
5929 is in the sequence because 5929 = 77^2 and 5929 contains exactly three different digits: 2, 5 and 9.
PROG
(PARI) s=[]; for(n=1, 200, if(#vecsort(eval(Vec(Str(n^2))), , 8)==3, s=concat(s, n^2))); s
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 15 2014
STATUS
approved