OFFSET
0,1
LINKS
Paul Tek, Table of n, a(n) for n = 0..10000
Paul Tek, PARI program for this sequence
EXAMPLE
a(0)=26 -> 26^(1/2)=5.{0}990195...
a(1)=10 -> 10^(1/2)=3.{1}622776...
PROG
(Python)
from math import sqrt
def a(n):
k, s, pow10 = 3, sqrt(2), 10**len(str(n))
while int(pow10*(s-int(s))) != n: k, s = k+1, sqrt(k)
return k-1
print([a(n) for n in range(1, 67)]) # Michael S. Branicky, Mar 15 2021
CROSSREFS
KEYWORD
AUTHOR
Patrick De Geest, Sep 15 1998
EXTENSIONS
Title corrected by Sean A. Irvine, Aug 02 2020
STATUS
approved