|
|
A165421
|
|
a(1) = 1, a(2) = 3, a(n) = product of the previous terms for n >= 3.
|
|
5
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Essentially a duplicate of A011764. - N. J. A. Sloane, Oct 06 2009
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 1..14
|
|
FORMULA
|
a(1) = 1, a(2) = 3, a(n) = Product_{i=1..n-1} a(i), n >= 3.
a(1) = 1, a(2) = 3, a(n) = A000244(2^(n-3)) = A011764(n-3) = 3^(2^(n-3)), n >= 3.
a(1) = 1, a(2) = 3, a(3) = 3, a(n) = (a(n-1))^2, n >= 4.
|
|
MATHEMATICA
|
a[1]:= 1; a[2]:= 3; a[n_]:= Product[a[j], {j, 1, n-1}]; Table[a[n], {n, 1, 12}] (* G. C. Greubel, Oct 19 2018 *)
|
|
PROG
|
(PARI) {a(n) = if(n==1, 1, if(n==2, 3, prod(j=1, n-1, a(j))))};
for(n=1, 10, print1(a(n), ", ")) \\ G. C. Greubel, Oct 19 2018
|
|
CROSSREFS
|
Sequence in context: A257627 A115564 A122961 * A227432 A100731 A072004
Adjacent sequences: A165418 A165419 A165420 * A165422 A165423 A165424
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Jaroslav Krizek, Sep 17 2009
|
|
STATUS
|
approved
|
|
|
|