OFFSET
1,2
LINKS
Patrick De Geest, Numbers whose digits occur with same frequency
EXAMPLE
31646191^2 = 1001481404808481 and its digits 0, 1, 4 and 8 each occur four times.
MATHEMATICA
Table[i = 0;
While[x = i^2; Union@DeleteCases[DigitCount[x], 0] != {n}, i++];
i, {n, 10}] (* Robert Price, Oct 12 2019 *)
CROSSREFS
KEYWORD
nonn,base,more,nice
AUTHOR
Patrick De Geest, Jan 15 2000
EXTENSIONS
2 more terms from Jon E. Schoenfield, Aug 18 2007
a(10) from Giovanni Resta, Aug 19 2018
STATUS
approved