OFFSET
1,2
FORMULA
a(n+1)=a(n)^2+2*a(n)-a(n)*a(n-1)-a(n-1), n>1.
MATHEMATICA
RecurrenceTable[{a[1]==1, a[2]==2, a[n]==a[n-1]^2+2a[n-1]- a[n-1] a[n-2]- a[n-2]}, a, {n, 10}] (* Harvey P. Dale, Dec 24 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Formula and more terms from Christian G. Bower.
STATUS
approved