login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096483
Integer part of the square root of n-th decimal repunit.
4
1, 3, 10, 33, 105, 333, 1054, 3333, 10540, 33333, 105409, 333333, 1054092, 3333333, 10540925, 33333333, 105409255, 333333333, 1054092553, 3333333333, 10540925533, 33333333333, 105409255338, 333333333333, 1054092553389
OFFSET
1,2
LINKS
FORMULA
a[n]=Floor[sqrt[(-1+10^n)/9]].
If n is even, a(n) = (10^(n/2)-1)/3. - Robert Israel, Nov 13 2017
MAPLE
seq(floor(sqrt((10^n-1)/9)), n=1..100); # Robert Israel, Nov 13 2017
MATHEMATICA
Floor[Sqrt[#]]&/@Table[FromDigits[PadRight[{}, n, 1]], {n, 30}] (* Harvey P. Dale, Sep 24 2016 *)
CROSSREFS
Sequence in context: A121523 A115240 A027989 * A093043 A061566 A082398
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Jun 24 2004
STATUS
approved