OFFSET
0,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..150
Paul Leyland, Factors of Cullen and Woodall numbers
Paul Leyland, Generalized Cullen and Woodall numbers
Index entries for linear recurrences with constant coefficients, signature (25,-168,144).
FORMULA
a(n) = 25*a(n-1) - 168*a(n-2) + 144*a(n-3), a(0)=1, a(1)=13, a(2)=289. - Harvey P. Dale, Apr 30 2015
G.f.: (1 - 12*x + 142*x^2 - 250*x^3 + 1680*x^4 - 1440*x^5)/((1 - 12*x)^2*(1 - x)). - Vincenzo Librandi, Jun 21 2018
MATHEMATICA
Table[n*12^n+1, {n, 0, 20}] (* or *) LinearRecurrence[{25, -168, 144}, {1, 13, 289}, 20] (* Harvey P. Dale, Apr 30 2015 *)
CoefficientList[Series[(1 - 12 x + 142 x^2 - 250 x^3 + 1680 x^4 - 1440 x^5) / ((1 - 12 x)^2 (1 - x)), {x, 0, 33}], x] (* Vincenzo Librandi, Jun 21 2018 *)
PROG
(PARI) { for (n=0, 150, write("b064750.txt", n, " ", n*12^n + 1) ) } \\ Harry J. Smith, Sep 24 2009
(Magma) [n*12^n + 1: n in [0..30]]; // Vincenzo Librandi, Jun 21 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 19 2001
STATUS
approved