login
Squares which have one or more occurrences of exactly five different digits.
3

%I #15 Apr 18 2017 16:17:26

%S 12769,13456,13689,13924,15376,15876,16384,17689,17956,18496,18769,

%T 20164,20736,21609,21904,23104,23409,23716,28561,29584,30276,30625,

%U 30976,31684,32041,32761,34596,35721,36481,37249,38025,38416,39204,39601,41209,43681,45369

%N Squares which have one or more occurrences of exactly five different digits.

%C The first term having a repeated digit is 100489.

%H Colin Barker, <a href="/A235720/b235720.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = A054033(n)^2.

%e 30976 is in the sequence because 30976 = 176^2 and 30976 contains exactly five different digits: 0, 3, 6, 7 and 9.

%o (PARI) s=[]; for(n=1, 1200, if(#vecsort(eval(Vec(Str(n^2))),,8)==5, s=concat(s, n^2))); s

%Y Cf. A235717-A235719, A235721-A235724, A225218.

%K nonn,base

%O 1,1

%A _Colin Barker_, Jan 15 2014