OFFSET
1,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
2038^2=4153444 and more than half the digits are 4's.
MATHEMATICA
Select[Range[0, 1300], Max[DigitCount[#^2, 10]]> (IntegerLength[#^2]/2)&] (* Harvey P. Dale, Apr 01 2011 *)
PROG
(PARI) is(n)=my(v=vecsort(eval(Vec(Str(n^2)))), m=v[(#v+1)\2]); sum(i=1, #v, v[i]==m)*2>#v \\ Charles R Greathouse IV, Apr 07 2012
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Erich Friedman, Apr 29 2001
STATUS
approved