OFFSET
1,2
COMMENTS
As n increases, this sequence is approximately geometric with common ratio r = lim(n->oo, a(n)/a(n-1)) = (sqrt(3)+sqrt(2))^4 = 49+20*sqrt(6).
LINKS
Index entries for linear recurrences with constant coefficients, signature (99,-99,1).
FORMULA
G.f.: x*(1-43*x+6*x^2) / ((1-x)*(1-98*x+x^2)).
a(n) = 98*a(n-1)-a(n-2)-36.
a(n) = 99*a(n-1)-99*a(n-2)+a(n-3).
a(n) = 1/48*(5*sqrt(3)*((sqrt(3)+sqrt(2))^(4n-3)+(sqrt(3)-sqrt(2))^(4n-3))+18).
a(n) = ceiling(5/48*sqrt(3)*(sqrt(3)+sqrt(2))^(4n-3)).
EXAMPLE
The second decagonal number that is also pentagonal is A001107(56) = 12376. Hence a(2)=56.
MATHEMATICA
LinearRecurrence[{99, -99, 1}, {1, 56, 5451}, 15]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ant King, Dec 22 2011
STATUS
approved