cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A034978 a(n)^2 is smallest square starting with a string of n 1's.

Original entry on oeis.org

1, 34, 334, 3334, 10541, 333334, 3333334, 33333334, 333333334, 3333333334, 10540925534, 105409255339, 3333333333334, 10540925533895, 105409255338946, 105409255338946, 10540925533894598, 105409255338945978, 3333333333333333334, 33333333333333333334, 333333333333333333334, 1054092553389459777333
Offset: 1

Views

Author

Patrick De Geest, Nov 15 1998

Keywords

Examples

			a(5)^2 = 10541^2 = {11111}2681.
		

Crossrefs

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