OFFSET
0,2
COMMENTS
The full set of integer solutions to this equation consists of the pairs [X(i),Y(i)] = [1+-A001081(i), Y(i)=A001080(i)]. The present generates every second one of them: a(n) = [A001081(2n)-1]/2. - R. J. Mathar, Nov 20 2007
LINKS
Index entries for linear recurrences with constant coefficients, signature (255, -255, 1).
FORMULA
a(0)=0, a(1)=63 and a(n)=254*a(n-1) - a(n-2) + 126.
G.f.: -63*x*(1+x)/(-1+x)/(1-254*x+x^2). a(n) = [A001081(2n)-1]/2. - R. J. Mathar, Nov 20 2007
a(0)=0, a(1)=63, a(2)=16128, a(n)=255*a(n-1)-255*a(n-2)+a(n-3). - Harvey P. Dale, Dec 15 2012
MATHEMATICA
LinearRecurrence[{255, -255, 1}, {0, 63, 16128}, 20] (* Harvey P. Dale, Dec 15 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Mohamed Bouhamida, Nov 14 2007
EXTENSIONS
More terms from Max Alekseyev, Nov 13 2009
STATUS
approved