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!)
A030688 Smallest nontrivial extension of n-th square which is a square not ending 00. 2
16, 49, 961, 169, 256, 361, 49284, 64009, 81225, 100489, 121104, 1444, 169744, 196249, 225625, 256036, 289444, 3249, 361201, 400689, 4414201, 484416, 529984, 576081, 625681, 6765201, 729316, 784996, 8415801, 900601, 9616201 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(Python)
from gmpy2 import isqrt
def A030688(n):
d, nd = 10, 10*n**2
while True:
x = isqrt(nd-1)+1
if not x % 10:
x += 1
x = x**2
if x < nd+d:
return int(x)
d *= 10
nd *= 10 # Chai Wah Wu, May 24 2016
CROSSREFS
Cf. A030689.
Sequence in context: A104992 A153483 A030686 * A235962 A235573 A186850
KEYWORD
nonn,base
AUTHOR
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 July 14 16:00 EDT 2024. Contains 374322 sequences. (Running on oeis4.)