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.

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

Original entry on oeis.org

2, 21, 667, 6667, 66667, 666667, 6666667, 21081851, 666666667, 6666666667, 66666666667, 210818510678, 2108185106779, 66666666666667, 210818510677892, 6666666666666667, 66666666666666667, 666666666666666667, 6666666666666666667, 66666666666666666667
Offset: 1

Views

Author

Patrick De Geest, Nov 15 1998

Keywords

Examples

			a(5)^2 = 66667^2 = {44444}88889.
		

Crossrefs

Cf. A034985.

Programs

  • Maple
    f:= proc(n) local x, k, s;
      x:= 4*(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..30]); # Robert Israel, May 31 2023

Formula

a(n) <= A002280(n)+1. - Robert Israel, May 31 2023

Extensions

More terms from Francisco Salinas (franciscodesalinas(AT)hotmail.com), Dec 23 2001