A074109 Smallest n-digit squarefree number.
2, 10, 101, 1001, 10001, 100001, 1000001, 10000001, 100000001, 1000000001, 10000000001, 100000000002, 1000000000001, 10000000000001, 100000000000001, 1000000000000001, 10000000000000001, 100000000000000001
Offset: 1
Programs
-
Mathematica
Join[{2}, Table[x = 10^n; k = 0; While[! SquareFreeQ[y = x + k], k++]; y, {n, 19}]] (* Jayanta Basu, Aug 01 2013 *)
Extensions
More terms from Matthew Conroy, Aug 27 2002
Comments