login
Largest n-digit squarefree number.
1

%I #8 Oct 03 2014 11:22:41

%S 7,97,998,9998,99998,999997,9999998,99999998,999999998,9999999998,

%T 99999999998,999999999998,9999999999998,99999999999998,

%U 999999999999998,9999999999999998,99999999999999998,999999999999999998

%N Largest n-digit squarefree number.

%t Table[x = 10^n; k = -1; While[! SquareFreeQ[y = x + k], k += -1]; y, {n, 18}] (* _Jayanta Basu_, Aug 01 2013 *)

%Y Cf. A074109.

%K base,nonn

%O 1,1

%A _Amarnath Murthy_, Aug 26 2002

%E More terms from _Matthew Conroy_, Aug 27 2002