OFFSET
1,1
COMMENTS
The first term having a repeated digit is 10137856.
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A054035(n)^2.
EXAMPLE
1247689 is in the sequence because 1247689 = 1117^2 and 1247689 contains exactly seven different digits: 1, 2, 4, 6, 7, 8 and 9.
MATHEMATICA
sddQ[n_]:=Count[DigitCount[n], _?(#>0&)]==7; Select[Range[1001, 1450]^2, sddQ] (* Harvey P. Dale, Mar 12 2015 *)
PROG
(PARI) s=[]; for(n=1, 10000, if(#vecsort(eval(Vec(Str(n^2))), , 8)==7, s=concat(s, n^2))); s
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 15 2014
STATUS
approved