OFFSET
0,2
COMMENTS
A sequence of the form: a(0)=1, a(1)=prime(m), a(2)=prime(m+2), a(n)=a(1)*a(n-1).
a(n) is divisible by 7 for n>1. - Colin Barker, Jan 09 2014
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3).
FORMULA
a(n) = A082541(n-1), n>1. - R. J. Mathar, Aug 27 2008
a(n) = 7*3^(n-2) for n>1. a(n)=3*a(n-1) for n>2. G.f.: (2*x^2-1) / (3*x-1). - Colin Barker, Jan 09 2014
MATHEMATICA
a[0] = 1; a[1] = 3; a[2] = 7; a[n_] := a[n] = a[1]*a[n - 1]; Table[a[n], {n, 0, 30}]
Join[{1, 3}, NestList[3#&, 7, 30]] (* Harvey P. Dale, Aug 05 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Aug 10 2008
EXTENSIONS
Edited by N. J. A. Sloane, Aug 16 2008
STATUS
approved