OFFSET
1,1
PROG
(Python)
from math import sqrt
def a(n):
k = (n + 2)**2
while int(10*sqrt(k))%10 != 1: k += 1
return k
print([a(n) for n in range(1, 50)]) # Michael S. Branicky, Oct 17 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Sep 15 1998
EXTENSIONS
Offset 1 from Alois P. Heinz, Aug 05 2020
STATUS
approved