OFFSET
1,2
COMMENTS
If n=1 then the term is the first digit before the decimal point. If the square root of n is a whole number then the term is 0.
EXAMPLE
If n=2, sqrt(2)=1.41421356 approx., the 1st(2-1) decimal place of which is 4 so the 2nd term is 4. If n=3, sqrt(3)=1.73205081 approx., the 2nd(3-1) decimal place of which is 3 so the 3rd term is 3.
MATHEMATICA
Join[{0}, Table[RealDigits[Sqrt[n] - Floor[Sqrt[n]], 10, n, -1][[1, -2]], {n, 2, 87}]]
PROG
(Python)
for n in range(1, 16):
x=str(n**0.5)
for i in range(n):
x=x+"0"
if n==1:
r=str(x[-1])
else:
r=r+", "+str(x[n])
if n==15:
print(r)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ruskin Harding, Jan 04 2013
STATUS
approved