The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A241079 If n is a perfect square, a(n) = 0. If n is not a perfect square, a(n) = number of final digits necessary to rule out n as a perfect square, or -1 if cannot be ruled out as a perfect square using any group of final digits. 0
 0, 1, 1, 0, 2, 2, 1, 1, 0, 2, 2, 1, 1, 2, 2, 0, 1, 1, 2, 2, 3, 2, 2, 4, 0, 2, 1, 1, 3, 2, 2, 1, 1, 2, 2, 0, 1, 1, 2, 2, -1, 1, 1, 4, 2, 2, 1, 1, 0, 2, 2, 1, 1, 2, 2, 4, 1, 1, 2, 2, 3, 1, 1, 0, 2, 2, 1, 1, 3, 2, 2, 1, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,5 COMMENTS To define the n-digit ending of a number with fewer than n digits, insert 0's in front of it. For example, the 2-digit ending of 5 is 05. LINKS EXAMPLE a(24) cannot be 3 because 024 is a valid ending of a square (32^2 = 1024). CROSSREFS Sequence in context: A269317 A119557 A125919 * A061198 A195011 A290942 Adjacent sequences:  A241076 A241077 A241078 * A241080 A241081 A241082 KEYWORD base,sign,more AUTHOR J. Lowell, Apr 15 2014 STATUS approved

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

Last modified August 13 19:30 EDT 2020. Contains 336451 sequences. (Running on oeis4.)