OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Jon Grantham and Hester Graves, The abc Conjecture Implies That Only Finitely Many Cullen Numbers Are Repunits, arXiv:2009.04052 [math.NT], 2020.
Paul Leyland, Factors of Cullen and Woodall numbers.
Paul Leyland, Generalized Cullen and Woodall numbers.
Amelia Carolina Sparavigna, Some Groupoids and their Representations by Means of Integer Sequences, International Journal of Sciences (2019) Vol. 8, No. 10.
Index entries for linear recurrences with constant coefficients, signature (7,-15,9).
FORMULA
From Colin Barker, Oct 14 2012: (Start)
a(n) = 7*a(n-1) - 15*a(n-2) + 9*a(n-3).
G.f.: -(6*x^2 - 3*x + 1)/((x-1)*(3*x-1)^2). (End)
E.g.f.: exp(x)*(3*x*exp(2*x) + 1). - Elmo R. Oliveira, Sep 09 2024
MATHEMATICA
Table[n*3^n+1, {n, 0, 30}] (* or *) LinearRecurrence[{7, -15, 9}, {1, 4, 19}, 30] (* Harvey P. Dale, Nov 07 2012 *)
PROG
(Magma) [ n*3^n+1: n in [0..20]]; // Vincenzo Librandi, Sep 16 2011
(PARI) a(n)=n*3^n+1 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 30 1999
STATUS
approved