OFFSET
1,1
FORMULA
G.f.: (x^5+3x^4-x^3+2x^2+2x+3)/(1-x^2)^3.
EXAMPLE
a(3) = 11 because the continued fraction for the square root of 11 is 3, {3, 6}.
MATHEMATICA
a = Table[0, {70}]; Do[ b = First[ Last[ ContinuedFraction[ Sqrt[ n]]]]; If[ b < 71 && a[[b]] == 0, a[[b]] = n], {n, 2, 10^4} ]; a
CROSSREFS
KEYWORD
dead
AUTHOR
Robert G. Wilson v, Nov 01 2001
STATUS
approved