login
a(n)^2 is the smallest square containing exactly n 9's.
2

%I #16 Oct 11 2019 04:06:51

%S 3,63,173,1414,17313,53937,138923,953937,3082207,31622764,99849687,

%T 301579177,3033150173,14142134563,141413973847,543315746063,

%U 3098361825223,5477225574409,14139412282687

%N a(n)^2 is the smallest square containing exactly n 9's.

%C a(20) > 10^14. - _Giovanni Resta_, Jul 27 2018

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SquareNumber.html">Square Number</a>

%t a[n_]:=Module[{i},i=1;While[DigitCount[i^2][[9]]!=n,i++ ];i]; (* Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 23 2006 *)

%Y Cf. A036516, A034994.

%K nonn,base,more

%O 1,1

%A _Patrick De Geest_, Mar 15 1999

%E a(13)-a(15) from _Jon E. Schoenfield_, Jan 24 2009

%E a(16) from _Jon E. Schoenfield_, Jan 25 2009

%E a(17)-a(19) from _Giovanni Resta_, Jul 27 2018