login
Smallest squares starting with a string of n 6's.
1

%I #6 Oct 06 2019 18:12:55

%S 64,66049,6661561,6666724,66666207204,6666662032144,66666669781156,

%T 666666667972321,666666666784689561,66666666662139024481,

%U 66666666666067063944516,6666666666663510150195841,66666666666662415539262729,666666666666660853687280656

%N Smallest squares starting with a string of n 6's.

%t For[i = 1, i < 20, i++, zeros = 0; isFound = False;

%t While[ !isFound, low = Ceiling[ Sqrt[ 2/3*(10^i - 1)*10^zeros ] ]; high = Floor[ Sqrt[ (2/3*(10^i - 1) + 1)*10^zeros ] ]; isFound = (low <= high); zeros++ ]; Print[ low, " ", low^2 ] ]

%Y Cf. A034988.

%K nonn,base

%O 1,1

%A _Patrick De Geest_, Nov 15 1998

%E Program and more terms from Jonathan Cross (jcross(AT)wcox.com), Oct 15 2001