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.

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

This page as a plain text file.
%I A034982 #12 May 31 2023 15:39:59
%S A034982 6,58,1825,5774,57735,57735,1825742,57735027,182574186,5773502692,
%T A034982 57735026919,57735026919,5773502691896,57735026918963,577350269189626,
%U A034982 5773502691896258,57735026918962577,577350269189625765,5773502691896257645,57735026918962576451,577350269189625764509,5773502691896257645092
%N A034982 a(n)^2 is smallest square starting with a string of n 3's.
%H A034982 Robert Israel, <a href="/A034982/b034982.txt">Table of n, a(n) for n = 1..996</a>
%e A034982 a(5)^2 = 57735^2 = {33333}30225.
%p A034982 f:= proc(n) local x, k, s;
%p A034982   x:= (10^n-1)/3;
%p A034982   for k from 0 do
%p A034982     s:= ceil(sqrt(10^k*x));
%p A034982     if s^2 < (x+1)*10^k then return s fi
%p A034982   od
%p A034982 end proc:
%p A034982 map(f, [$1..30]); # _Robert Israel_, May 31 2023
%Y A034982 Cf. A034983.
%K A034982 nonn,base
%O A034982 1,1
%A A034982 _Patrick De Geest_, Nov 15 1998
%E A034982 More terms from Francisco Salinas (franciscodesalinas(AT)hotmail.com), Dec 23 2001