OFFSET
1,2
EXAMPLE
a(3) = 4 because 1*2*4+1 = 9 = 3*3 a(4) = 3 because 2*4*3+1 = 25 = 5 * 5
MATHEMATICA
a = {1, 2}; Do[ b = a[[ -2]]*a[[ -1]]; k = 3; While[ !IntegerQ[ Sqrt[k*b + 1]] || Position[a, k] != {}, k++ ]; Print[k]; a = Append[a, k], {n, 3, 33} ]; a
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Oct 11 2001
EXTENSIONS
More terms from Don Reble, Oct 13 2001
STATUS
approved