Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #16 Nov 21 2013 12:50:00
%S 0,1,145,12,2,8,24,1667,313,3
%N a(n) is the smallest nonnegative m such that average digit of m^2 is n.
%t Join[{0},Flatten[Table[Select[Range[2000],Mean[IntegerDigits[#^2]] == n&,1],{n,9}]]] (* _Harvey P. Dale_, Feb 26 2012 *)
%K base,nonn,fini,full
%O 0,3
%A _Zak Seidov_, Nov 22 2010