The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A230604 Smallest number whose square has more than n digits and begins and ends with the same n digits. 1
11, 173, 264, 16262, 193744, 238165, 38981039, 112791955, 1580178016, 1052631579, 30762132977, 15020242915, 14451789007487 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Differs from A161355 in that the present sequence allows an "overlap" of the digits, while A161355 requires a(n)^2 to have at least 2n digits. - M. F. Hasler, Mar 03 2014
According to a linear regression, a(13) is in the range (1.2 +/- 1.0)*10^12 with a probability of 68.3% (one-sigma). - Julien Kluge, Mar 04 2016
LINKS
EXAMPLE
a(3)=264 since 264^2 = 69696 is the smallest square that starts and ends with the same 3 digits.
MATHEMATICA
a[n_] := Block[{digits = {}},
For[i = Ceiling[Sqrt[10^n]], True, i++,
If[i^2 >= 10^n, digits = IntegerDigits[i^2];
If[Take[digits, n] == Take[digits, -n], Return[i]]]]];
a2[#] & /@ Range[1, 6] (* Julien Kluge, Feb 02 2016 *)
PROG
(PARI) for(n=1, 8, k=floor(sqrt(10^n)); until(bn==ed, k++; sr=Str(k^2); vc=Vec(sr); ln=#sr; bn=vc[1..n]; ed=vc[ln-n+1..ln]); print1(k, ", "));
CROSSREFS
Sequence in context: A307168 A141955 A133243 * A161355 A223067 A280442
KEYWORD
nonn,base,more
AUTHOR
EXTENSIONS
a(9)-a(10) from Julien Kluge, Feb 13 2016
a(11)-a(12) from Julien Kluge, Mar 04 2016
a(13) from Giovanni Resta, Apr 18 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 07:02 EDT 2024. Contains 372729 sequences. (Running on oeis4.)