A034978 a(n)^2 is smallest square starting with a string of n 1's.
1, 34, 334, 3334, 10541, 333334, 3333334, 33333334, 333333334, 3333333334, 10540925534, 105409255339, 3333333333334, 10540925533895, 105409255338946, 105409255338946, 10540925533894598, 105409255338945978, 3333333333333333334, 33333333333333333334, 333333333333333333334, 1054092553389459777333
Offset: 1
Examples
a(5)^2 = 10541^2 = {11111}2681.
Links
- Robert Israel, Table of n, a(n) for n = 1..996
Programs
-
Maple
f:= proc(n) local x, k, s; x:= (10^n-1)/9; for k from 0 do s:= ceil(sqrt(10^k*x)); if s^2 < (x+1)*10^k then return s fi od end proc: map(f, [$1..20]); # Robert Israel, May 31 2023
Formula
a(n) <= A093137(n). - Robert Israel, May 31 2023
Extensions
More terms from Francisco Salinas (franciscodesalinas(AT)hotmail.com), Dec 23 2001