A235720 Squares which have one or more occurrences of exactly five different digits.
12769, 13456, 13689, 13924, 15376, 15876, 16384, 17689, 17956, 18496, 18769, 20164, 20736, 21609, 21904, 23104, 23409, 23716, 28561, 29584, 30276, 30625, 30976, 31684, 32041, 32761, 34596, 35721, 36481, 37249, 38025, 38416, 39204, 39601, 41209, 43681, 45369
Offset: 1
Examples
30976 is in the sequence because 30976 = 176^2 and 30976 contains exactly five different digits: 0, 3, 6, 7 and 9.
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
Programs
-
PARI
s=[]; for(n=1, 1200, if(#vecsort(eval(Vec(Str(n^2))),,8)==5, s=concat(s, n^2))); s
Formula
a(n) = A054033(n)^2.
Comments