A054039 a(n)^2 is the least square to contain n different decimal digits.
0, 4, 13, 32, 113, 322, 1017, 3206, 10124, 32043
Offset: 1
Examples
13^2=169 is the first square to contain exactly 3 different digits; 322^2=103684 is the first square to contain exactly 6 different digits.
Programs
-
PARI
A054039(n,k=0) = { while( #Set(Vec(Str(k^2)))
M. F. Hasler, Feb 02 2009 */
Extensions
Minor rewording, added comment, keywords "easy,full" and PARI code M. F. Hasler, Feb 02 2009
Comments